LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Take variable quantity data from serial port using 8051

I am new to LABVIEW. I am getting datas in hyperterminal and visa read.vi in labview. But I want to take different quantities and log it to excel and print to graph example temperature, humidity, pressure etc. How to do this? In some serial read vis I am getting timeout error. How to rectify the same..
0 Kudos
Message 1 of 26
(4,156 Views)
If you post your code, it would be much more easy to help. I have a feeling that you have done some typical beginner mistakes.


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 2 of 26
(4,135 Views)
I am attaching the code as bmp file. Please have a view of the same and let me know how to know which is pressure and which is humidity etc. from the received data because the microcontroller sends the data like V:255, T:24 etc.
0 Kudos
Message 3 of 26
(4,111 Views)

visa serial read wrote:
I am attaching the code as bmp file. Please have a view of the same and let me know how to know which is pressure and which is humidity etc. from the received data because the microcontroller sends the data like V:255, T:24 etc.

Hi

Your code was not much to work with. So I can not give you any help. But it may look as you should gain some basic Labview skills before you proceed with your project. I think some online tutorial are available on www.ni.com But I do not have any link. Perhaps someone can help with this. Also remember that this forum is meant to help people, not providing turn key ready software solution. Looking forward to hear from you regarding your Labview learning curve or any other question:)



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 4 of 26
(4,088 Views)

hi 

        why did you place write function in your code?

        if the data from your micro controller is continuous try this.  

        be hooked up.

 

regaurds

chaitanya 

 

Message Edited by chaitu2 on 10-23-2009 09:25 AM
Message 6 of 26
(4,026 Views)

Any how I have managed to get the data and it is working, but the problem is labview reading is late if I am providing delay before read 12 seconds then the gauges and indicators are working. If delay before read is 0 then it is working but the gauges and indicators are not working. I am using bytes at port property. There is total 600ms delay in microcontroller for display in LCD. what might be the problem?

 

Thx in advance

0 Kudos
Message 7 of 26
(4,006 Views)
Your description is not very clear.  Please post the latest copy of your VI.
0 Kudos
Message 8 of 26
(4,000 Views)
I've worked with both PIC16F877A and 8051. It will be much better if you elaborate you problem.Don't hesitate feel free to ask. Tell us that what are your basic requirements for example in my case I've done on/off control for temperature. What i was doing that from LM35 i get the data then by using ADC and using serial communication take it on LabVIEW and then upon alarming condion send some character lets say "W" and in controller wait for W and when it came there make some port high or low. I do have vi for it and for PIC i am doing for three different channel. First explain your problem in detail so that we can help you easily. If you like i'll upload for you but show us somthing first Smiley Wink
Naqqash
0 Kudos
Message 9 of 26
(3,980 Views)
I am including the vi please check..
0 Kudos
Message 10 of 26
(3,969 Views)