LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to manually give input to the visa read.??

I want to manually give input to the visa read,so that visa read can take a  one byte at once.

I am not able to get the data from the microcontroller through the Rs232.so I want to manually give input to the visa read.so that I can check my programme.Is it possible to manually give input .??

Thanks.
I have attached my labview programme.

Download All
0 Kudos
Message 1 of 7
(3,293 Views)
No, you can't manually tell VISA Read anything but you can simply use a control. Place the control and Read inside a case statement. You need to take some of the free tutorials if you don't understand that.

Your code is pretty confusing. Are you getting a timeout error? Have you double checked the com settings and type of cable? Can you use another program for communication to test it? What are you connecting to?
0 Kudos
Message 2 of 7
(3,262 Views)

I am connecting this labview to below attached circuit diagram(made with proteus ) and output of this simulation is like F5550310660275020.but I am not able to read that value through labview program.I used virtual Serial port emulator to communicate between labview and proteus.
I haven't done the hardware part of that proteus circuit because i want to conform it that circuit works with labview program and vice versa.

i would like you to correct the programme where i have made mistake.

i attached below the necessary file of proteus and labview.
Thank in advance..

0 Kudos
Message 3 of 7
(3,184 Views)

 

I am connecting this labview to below attached circuit diagram(made with proteus ) and output of this simulation is like F5550310660275020.but I am not able to read that value through labview program.I used virtual Serial port emulator to communicate between labview and proteus.
I haven't done the hardware part of that proteus circuit because i want to conform it that circuit works with labview program and vice versa.

i would like you to correct the programme where i have made mistake.

i attached below the necessary file of proteus and labview.
Thank in advance..

Screen Shot 2015-06-29 at 5.59.02 PM.png



0 Kudos
Message 4 of 7
(3,182 Views)
I'm not familiar with Proteus. Please try another program such as putty to see if it works there.
0 Kudos
Message 5 of 7
(3,164 Views)

Like I said in your other thread, and this thread is the same thing, you need to look in to more training in the LabVIEW basics. Since your problem is with an instrument, it is very hard for anyone here to debug this for you. 

 

"i would like you to correct the programme where i have made mistake." is not something that can just be done. You need to try different things on your system to see what fixes the problem. Try checking out the Core 1 and/or Core 2 training. SixClear was how I learned the basics. Alternatively you can watch some YouTube videos related to working with VISA and look through some examples within LabVIEW itself by going to Help>Find Examples...

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 6 of 7
(3,146 Views)

Actually Dennis Knutson is right, you can use controls instead of constant then you can change those values in your Front Panel.

 

I am going to attach a video that might help you.

 

Message 7 of 7
(3,109 Views)