03-12-2010 09:37 AM
Is there an easy way get or retrieve Serial Configurations saved in MAX into LabVIEW?
We have several devices that communicate though RS-232 that require different settings. The connection arrangement of these devices may change from test to test. What I would like to do is use MAX to determine which equipment is connected to which serial ports, save the communication settings in MAX, and load them into LabVIEW to establish connection. I could write code to allow the user to do this but why reinvent the wheel.
I've attached my list of software incase a newer version might be capable of doing this.
Any insight in this would be greatly appreciated.
Thanks,
Tessa
Solved! Go to Solution.
03-12-2010 09:55 AM - edited 03-12-2010 09:57 AM
You don't have to do anything to get the serial settings into LabVIEW. As long as you don't use the VISA Configure Serial Port, the settings will persist and you just have to do your reads and writes with the correct resource. Put simply, if you set the baud rate in MAX for Com1 to be 56000, in LabVIEW if you write to Com1, it will occur at 56000 baud.
This has been true for versions of VISA much older than what you show.
03-12-2010 11:14 AM
Thanks Dennis!!
I thought it would be simple. I have been using the Configure Serial Port vi. I was trying to be too through!
Thanks Again