Mcs.Usb.STG_DestinationEnumNet descriptions, prepareAndSendData, and voltage and current modes

View previous topic View next topic Go down

Mcs.Usb.STG_DestinationEnumNet descriptions, prepareAndSendData, and voltage and current modes

Post  JimHokanson on Fri Jul 28, 2017 7:58 am

Two related questions:
1) What do the options mean for Mcs.Usb.STG_DestinationEnumNet. Specifically, what is positive_current vs current, and what is boost_gnd_sync vs sync?
2) There seems to be some redundancy and/or discrepancy between PrepareAndSendData which is looking for a type, and SetVoltageMode and SetCurrentMode. As far as I can tell, sending the data ultimately determines the stimulus behavior, regardless of specified mode from SetVoltageMode or SetCurrentMode. These latter functions however seem to determine the LED color of the device. Is that correct? Am I missing any important points?

Thanks,
Jim

JimHokanson

Posts : 8
Join date : 2017-07-07

View user profile

Back to top Go down

Re: Mcs.Usb.STG_DestinationEnumNet descriptions, prepareAndSendData, and voltage and current modes

Post  JimHokanson on Wed Aug 16, 2017 6:54 am

Any updates, particularly for 1?

Thanks,
Jim

JimHokanson

Posts : 8
Join date : 2017-07-07

View user profile

Back to top Go down

Re: Mcs.Usb.STG_DestinationEnumNet descriptions, prepareAndSendData, and voltage and current modes

Post  Jens on Thu Aug 17, 2017 12:54 am

Hi Jim,

maybe I start from the end.

SetVoltageMode and SetCurrentMode set the actual mode on the hardware. So it changes switches there.

The PrepareData part of the software need to know for which kind of stimulus you indend to perepare the data. So for voltage mode it takes the voltage range to calc the data from physical units do device DAC units. The same for current mode.
positive_current was introduced for stimulators (as the W2100-W4 opto headstage) that only produce positive current in full range.
The enumerations with "sync" and "boost" are intended only for the W2100 headstage stimulators since they need the sync bits inside the current data stream. For other stimulators they should not be used.
This is why STG_DestinationEnumNet is needed for preparing the data in the PC.

So you need to use both things to correctly switch between voltage and current mode.

Best regards, Jens

Jens

Posts : 55
Join date : 2009-03-05
Location : Multi Channel Systems

View user profile http://www.multichannelsystems.com

Back to top Go down

Re: Mcs.Usb.STG_DestinationEnumNet descriptions, prepareAndSendData, and voltage and current modes

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum