Welcome to our user forum (read only mode).
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

2 posters

Go down

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

Post  JimHokanson Fri Jul 28, 2017 8:58 pm

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

Back to top Go down

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

Post  JimHokanson Wed Aug 16, 2017 7:54 pm

Any updates, particularly for 1?

Thanks,
Jim

JimHokanson

Posts : 8
Join date : 2017-07-07

Back to top Go down

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

Post  Jens Thu Aug 17, 2017 1:54 pm

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-06
Location : Multi Channel Systems

http://www.multichannelsystems.com

Back to top Go down

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

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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