LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing LabView parameters

I am currently working a project where I need to get some scales to communicate with LabView. I have contacted the maker of these scales (GK & GFK Scale) and he says that some other people have come to him with this question. He says the way to make the scale communicate with LabView is that I need to change the parameters of LabView to match the parameters of the scale. I was wondering how I would go about changing the parameters of LabView? He also mentioned that I would need to find the driver that will allow LabView to communicate with the scale properly. Oh and the scale will be connected to the computer I have LabView running on in the computer's serial port.

Sorry this was kinda lengthy.

 

Thanks

0 Kudos
Message 1 of 5
(2,521 Views)

By "parameters of LabVIEW" I'm assuming you're talking about the serial port settings?

 

You will need to figure out what settings the scale will be using, then set them accordingly:

 

- Baud rate

- data bits

- stop bits

- parity

- flow control

- termination character


Serial.png

Cory K
0 Kudos
Message 2 of 5
(2,515 Views)

Thanks Cory, this should work but is there any way of getting that data from the device I have hooked up to the serial port to read out on a something like a meter that is one the front diagram?

This is my first time working with something coming out of a serial port so my knowledge is very limited. 🙂

 

Thanks

0 Kudos
Message 3 of 5
(2,503 Views)

Do you have a technical manual that came with the device?
Is there an online PDF version?

 

You cannot get that data from the device, because in order to communicate, you need to set up the connection first Smiley Tongue

Cory K
0 Kudos
Message 4 of 5
(2,480 Views)

You should start by seeing if there's an existing instrument driver for your device in the Instrument Driver Network.

 

If not, you'll need to roll your own. You'll need the programming manual for that. You can take a look at the serial port examples that ship with LabVIEW. Open the Example Finder (Help -> Find Examples) and search for "serial".

0 Kudos
Message 5 of 5
(2,473 Views)