LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending live data to another serial port

You obviously need to prevent this 'receiver' internet from transmitting do you would need to modify the splitter if in fact it is capable of doing any transmitting.

Have you actually tested the ability of the instrument to receive unmodified data? You certainly don't need any custom cabling to do this. What are the makes and models of these instruments?
0 Kudos
Message 11 of 18
(1,296 Views)

What is stopping you from sending the data via TCP/IP or UDP once that data is entered into Excel? I am assuming that your computer(s) are on a LAN.

 

What I am thinking is use your first PC as the requestor of the data, and then it passes the data out as needed to ther machines on the network once that data is recieved.

0 Kudos
Message 12 of 18
(1,272 Views)

Like Dennis said. "What are the makes and models of these devices?" This might lead to a better solution.

Glad to answer questions. Thanks for any KUDOS or marked solutions 😉
0 Kudos
Message 13 of 18
(1,253 Views)

Hi guys,

 

Sorry for the late response. Actually I modified my LabView code and tried to write the data directly in the reciving serial port for the last two days. The receiving device is actually a LTS60 serial to analog transmitter which takes in serial inoput and generates a 4-20 mA current output. I have very little knowledge about the 'mask' term that you asked for. It seems that there is something wrong with the code as the current generated by the transmitter seems non-responsive to the serial input from the code. Can't I just convert the data into a string and feed it to a VISA serial write? I have attached the code herewith ... need your suport guys ...

 

 

0 Kudos
Message 14 of 18
(1,209 Views)
The image is not very useful. You have not attached any code. You have not shown the string received from the instrument. You have not shown the string you are transmitting. You have not shown the representation of those string constants. You have not attached the programming manual. It does not take two days to clearly provide the necessary information.
0 Kudos
Message 15 of 18
(1,199 Views)

Hi Dennis_Knutson,

 

I am so so sorry for not attaching the code. I am attaching it now.

 

In the snapshot of the FRONT PANEL:

 

Sending Device: VISA resource 1 (Fluke_Temperature_Readout)

Data Received by the Code from the Sender: Incoming Data to Code

Receiving Device: VISA resource 2 (COM9/LTS Serail to Analog Transmitter)

Data Received by the Transmitter: Outgoing Srting to Transmitter

 

Here, I have tried to format the serial data sent to the receiving device according to its manual (attached herewith). Page-20 to 22 talks about the data formatting for Serial Operation. I have used Remote S operating mode here.

 

Please let me know what more information you need, i am trying my bes to provide those ...

 

0 Kudos
Message 16 of 18
(1,180 Views)

I have the Transmitter Manual (Receiving Device, VISA resource 2) as attached here. Page- 20 to 22 talks about the input data formatting.

0 Kudos
Message 17 of 18
(1,176 Views)
Are you using the custom ascii format? That requires 9 characters, including the decimal point and must be terminated with a carriage return. Instead of jumping into LabVIEW, did you test communication with MAX or a program such as putty?
0 Kudos
Message 18 of 18
(1,163 Views)