‎12-06-2007 11:26 PM
‎12-07-2007 07:21 AM
‎12-07-2007 11:32 AM
‎12-10-2007 12:00 PM
Hi Aviv,
I am currently looking into this, although I have a couple of suggestions in the meantime. Have you tried using any of the examples for C# located in C:\Documents and Settings\All Users\Documents\National Instruments\NI-VISA\Examples\DotNET2.0? It might be good to try the simple read/write example to see if it imports the serial settings from MAX.
I know that in LabVIEW, when using VISA functions, the system automatically scans MAX for the baud rate setting if the default fails. As long as the settings have been saved in MAX, they should be successfully imported into the program. This leads me to believe that it can be done, and that we simply need to determine which functions enable this setting in C#.
Thanks for your patience and I will contact you with more information!
Lauren L.
‎12-12-2007 09:50 AM
Hi Aviv,
In order to import the serial settings from MAX you need to change the Access Mode to 4. This tells the program to load the configured settings. For more information on how to use this, I recommend taking a look at the Measurement Studio help guide, under the class library in Reference>>NationalInstruments.VisaNS>>AccessModes Enumeration.
Hope this helps!
Lauren L.
‎12-12-2007 02:35 PM