Instrument Control (GPIB, Serial, VISA, IVI)

Showing results for 
Search instead for 
Did you mean: 

programing with RS-232C to usb

Programming with RS-232C to USB-writing data to array

I am trying to write a Lab View VI to record data to a spreadsheet.  All of the analog inputs are in the same while loop, and record data at the same rate, to an array, so all the data is synchronize.  The only element left is a balance that is connected by a USB to RS-232 serial connection. The scale is recognized by VISA.  I would like to put the scale input and writing in the same while loop as all of the analog data so I get one datapoint from each instrument at the same time. I also want it to write to the same (floating point string )array as all of the other data. I know nothing about the protocols associated with serial port communication so I'd like the programming to be as simple as possible.  How do I open the port, get the data, convert it to a string, and write that string to an existing array, all in an existing while loop?   Help on this would be greatly appreciated. 

as far as I can tell no driver currently exists for this particulat model of Scale (Mettler-Toledo JL-G Jewelry Balance)


Attached is the existing VI. I'd like the weight data to appear as the last column in an output file with the same timing as the other data points, though less frequent collection of weight data is acceptable (but not ideal).


Grateful novice,



0 Kudos
Message 1 of 4
You simply reposted your original question in this board. You still have not provided any of the necessary information that I told you was required. Why ask a question if you aren't going to pay any attention to the answers you get? Why should anyone respond to you if you disrespect the people who are trying to help?
0 Kudos
Message 2 of 4

The model Is a Mettler-Toledo JL-G 6001-G.

I have not found any drivers claiming to be compatible with this model, nor have I found any examples of VI's attempting do something similar. The company publishes a "Standard Interface Command Set", I don't know what that is or if it is necessary. The manual says almost nothing about interfacing with the RS232C, just that the command set can be found at 

0 Kudos
Message 3 of 4
The instrument driver network lists 71 different models from Mettler-Toledo and ' Standard Interface Command Set' would imply (to me, anyway) that their products share a common programming language so you should have numerous similar examples.
0 Kudos
Message 4 of 4