04-27-2018 05:07 AM
Hello All,
I Have a Task to get a data from 4 measuring machines using NI DAQ serial card parallely
the machine output are measured testing data and port is rs232 and I am connect 4 machines through NI serial DAQ to the computer
and I know to do program to get a data from 1 machine at a time and problem is I need to get data from 4 machine parallely
like if I run 4 machine parallely the program should able to read all data at port without out loosing any data from it and save it to excel file.
can any one please help me to solve the problem
please revert back for any clarifications
looking forward fro your support
have a nice day
Vinay,
Vinaygowdamech5@gamil.com
Solved! Go to Solution.
04-27-2018 05:31 AM
Hi,
Which NI Serial Device are you using?
04-27-2018 07:40 AM
Set up 4 VISA serial ports, then 4 VISA Writes in parallel and 4 VISA Reads in parallel.
You are always at the risk of losing data if one of the devices doesn't happen to return data for some reason.
04-27-2018 07:41 AM
Could you add a schematic or a sketch showing how you are connected and what you want to achieve?
04-27-2018 08:26 AM
I'm not confident that you can perform multiple VISA serial read or write operations in parallel, does anyone know? I recently tried to perform multiple VISA TCP/IP operations (on different IP addresses) simultaneously and found that at least VISA Open was blocking and couldn't be performed in parallel.
04-27-2018 08:34 AM
I would have separate loops for each port and use a queue to send the data back to the logging loop. I would also use TDMS to make things a little simpler since you can specify which channel the data goes into.
05-01-2018 11:32 PM
hello,
I am new to the LabVIEW can you please elaborate more about to get data parallel from Visa NI rs232/4
and I have one basic question for you
looking forward for your support
have a nice day
Vinay,
Vinaygowdamech5@gamil.com
05-02-2018 12:35 AM
NI serial device USB RS232/4
05-02-2018 12:39 AM
Hi Vinay,
how to know that which machine data is get through the NI RS232/4 serial port device while running parallel and how to recognize it ?
When accessing the COM ports you should know which device is connected to which COM port…
When your devices offer the possibility to read some ID data you could try to ask them for that ID!
can please make basic program to run visa parallel please do need full work
Use the BasicSerialReadAndWrite example VI.
4 times in parallel!
05-02-2018 01:27 AM
Dear GerdW,
Thanks for Reply
can please make basic program to run visa parallel ?
Use the BasicSerialReadAndWrite example VI.
4 times in parallel!
After placing 4 basic serial read and write
how can I control that 1st serial read and write has to read COM PORT 1 and 2nd serial read and write has to read COM PORT 2
Kind Regards
Vinay,