im new to labview...
i would like to know how to read data serially??
I have done the required initialisation, serial read and then when i try to run it...it shows some error stating some device driver is not located or loaded. I tried installing it again but it still shows the error...
Kindly help....
And one more query is that on recieving data serially how can i plot it in form of a graph??
Hi!
Would you try this tool first:
http://labviewportal.eu/en/device-i-o/79-rs232-terminal
If it works without errors, you can adapt it for your issue.
this is wat i actually designed...
I would actually want to know if this is sufficient for the operation of reading data serially through a serial port and displayin the same in a string
Here is the screenshot of that VI.
Not much is going to happen with this VI. It is all going to execute in one shot. You will configure the port which will basically opens it. You check the number of bytes at the port. This will be zero since you just opened the port. Or it will be a very small number if your device is continually sending data and you just happen to get some bytes in the buffer between the near instantaneous time of opening the port and check the number of bytes. Then you will read that number of bytes, probably none, or just a couple of the full message. Then you close the port which will prevent any more data from showing up in the buffer.
Does your device require a command to be sent to it before it returns any data?
Look at the example Basic Serial Write and Read.Vi in the example finder and understand how that works. Then look at the other serial examples. You will probably want to repeatedly get data which means putting the write, wait, and read in a loop. Put the configure port ahead of the loop, and the close port after the loop.
im posting the error that occurs at three instances if i ask to continue...
1 is at the serial initialisation
2 at the property node
3 at the serial read
and the screenshot of the front panel is as follows
Hi guest of ni,
You need to select the com port number under resource name. You will get this error If you just right clck -->create control and donot select the com port.
ya we had selected and entered COM1 previously but we did get the same error...
by default u have refresh as the option but we selected COM1