0 I have attached a RS232 to USB converter and connected SD-100 Verity Monochromator Legacy Equipment(circa 1999 Device). No software available(unable to find and manufacturer does not have) to drive commands to the unit. I know the unit is a self contained with logic and microprocessed controlled and with external(via Rs232)commands will do its own arrangements to scan and send back plottable data from the RS232 port etc. I have randomly sent commands through the Debugging software to send commands and observe the received data. The unit does not respond and not sure if its because its looking for the right commands or a series of commands I am not aware of etc. I am at a lost and would like to be able to use this equipment. Anyone who might have an inkling on the approach or a better idea please let me know... Anyway to figure out what the hex commands to get this unit to function and then figure out a list that could be created into a gui interface for the windows eventually. Thanks in advance!!!
how do i synchronise my arduino serial with my labview? When my arduino already starts reading data and printing it to the derial monitor and i activate my labview 10s later i only read data from 10s ago.
When your Labview starts up read all of the data that's buffered by the driver and/or Visa. Call 'bytes at port' to find out how much there is to read. Subsequent reads will retrieve the latest data. You can make your own decision whether to process or discard the initial buffer contents.
I am so frustrated with LabVIEW. When I try the same thing with streaming data via serial LabVIEW is too slow to read (100 ms intervalls) and the buffer fills slowly. I want "real-time" data. Simply put - read the fcking last thing in the buffer and not in order. I tried to put in an array, but I found no way to read the last element. With python this takes 10 minutes, when you dont know how to program. In LabVIEW you always have to fix problems no one ever had with script based programming. I truly hate it, but I have to learn it somehow.
Thanks, Tim, for your clear explanation. Fixed the weird race condition in my project (streaming with serial read and write).
This is bloody amazing. Exactly what I needed, didn't realize I've been doing it, not wrong but poorly this entire time.
This was super helpful, thanks for making this
Amazing!
0
I have attached a RS232 to USB converter and connected SD-100 Verity Monochromator Legacy Equipment(circa 1999 Device). No software available(unable to find and manufacturer does not have) to drive commands to the unit. I know the unit is a self contained with logic and microprocessed controlled and with external(via Rs232)commands will do its own arrangements to scan and send back plottable data from the RS232 port etc. I have randomly sent commands through the Debugging software to send commands and observe the received data. The unit does not respond and not sure if its because its looking for the right commands or a series of commands I am not aware of etc. I am at a lost and would like to be able to use this equipment. Anyone who might have an inkling on the approach or a better idea please let me know... Anyway to figure out what the hex commands to get this unit to function and then figure out a list that could be created into a gui interface for the windows eventually. Thanks in advance!!!
Having called 'bytes at port' it makes no sense at all to not use the returned value as the input to Visa read.
super cool
how do i synchronise my arduino serial with my labview? When my arduino already starts reading data and printing it to the derial monitor and i activate my labview 10s later i only read data from 10s ago.
When your Labview starts up read all of the data that's buffered by the driver and/or Visa. Call 'bytes at port' to find out how much there is to read. Subsequent reads will retrieve the latest data. You can make your own decision whether to process or discard the initial buffer contents.
You look like a young Terry Davis. Anyway, thanks a lot for this. It helped!
I'm facing an overrun error. It says a character was not read from the hardware before the next character arrived. any solution?
Read faster?
Why do you have a The Cheat on your title page? :-)
I was a huge Homestar Runner fan in college and decided to make The Cheat my avatar. I just haven't changed since.
I am so frustrated with LabVIEW. When I try the same thing with streaming data via serial LabVIEW is too slow to read (100 ms intervalls) and the buffer fills slowly. I want "real-time" data. Simply put - read the fcking last thing in the buffer and not in order. I tried to put in an array, but I found no way to read the last element. With python this takes 10 minutes, when you dont know how to program. In LabVIEW you always have to fix problems no one ever had with script based programming. I truly hate it, but I have to learn it somehow.