LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa usb out-in problem in labview and trying to understand it

hello i have developped a program on p18f4550 using flowcode v4 and i am trying to send 2 stings of length 20 to labview i am having problems setting up the interface on labview usb visa out and in and having problem getting to know the connections can i please get some help on how they work and how can i fix it?

Download All
0 Kudos
Message 1 of 3
(2,244 Views)

Hi,

 

I saw your PH.vi and I realized several erros in that.

 

In your code there is a design pattern called State Machine. Your state machine could not stop if it has not been already stopped, the transition code-parts are wrong. About state machine you can read here: http://zone.ni.com/devzone/cda/tut/p/id/3024, http://zone.ni.com/devzone/cda/tut/p/id/7604 .

 

Here you can find an example for USB-RAW communication (with Event Handling): https://decibel.ni.com/content/docs/DOC-2022

 

Anyway, if you implemented the code in your microcontroller you should test it with a well-working program on the other side. Is you PIC uC side working well? Did you test it? If yes, you could build the LabVIEW program.

 

Regards,

Peter

Peter Vago
0 Kudos
Message 2 of 3
(2,213 Views)

thank you:D thats appreciated i will check them and fix it

0 Kudos
Message 3 of 3
(2,202 Views)