LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use labview program receive arduino 2560 mega digital sigal

Dear sir,

i use arduino mega 2560 connected to labview.
i don't have idea to sketch the labview program receive arduino digital signal, pl help.
0 Kudos
Message 1 of 25
(4,210 Views)

Dear ikchan,

You can use LabVIEW interface for Arduino to connect to your arduino. 

Regards.


Message 2 of 25
(4,204 Views)
Dear Nap,

many thanks for your help.
i already communicate arduino, but i have not idea how to rectify the program, always error code 5002.

0 Kudos
Message 3 of 25
(4,196 Views)

Dear Nap,

 

I attached the program for your comment.

But I think i sketch program is so simple in the while loop....

 

Many thanks for your reply

0 Kudos
Message 4 of 25
(4,191 Views)

Could you please tell us what does this error say. Place a screenshot of the error wndow here.


0 Kudos
Message 5 of 25
(4,177 Views)

Dear Nap,

 

I attached the screenshot for your review.

Could you kindly advise any rectify method?

 

Many thanks for your reply

0 Kudos
Message 6 of 25
(4,148 Views)

Check for following niches:

1. Check whether the COM port you have selected is correct.
2. Check whether your arduino is loaded with LIFA firmware.

 


0 Kudos
Message 7 of 25
(4,131 Views)

@NapDynamite wrote:

Check for following niches:

1. Check whether the COM port you have selected is correct.
2. Check whether your arduino is loaded with LIFA firmware.

 


The error wouldn't be with not loading the LIFA firmware it is "Insufficient location information or the device or resource is not present in the system." So I'm going to guess that COM5 doesn't exist.

 

Click the little arrow next to COM5 and it will list the COM ports that LabVIEW (and MAX) see and can use.  If yours isn't listed you'll need to figure out why.  If none are listed then you likely don't have VISA installed.

Message 8 of 25
(4,099 Views)

Dear Nap,

 

I can communicated with arduino now, many thanks for your help.

But, my target is "read digital signal" then through Labview program to trigger video file,

could you help me?

Attached my initial program for your comment 

0 Kudos
Message 9 of 25
(4,062 Views)

You mean when the digital pin of your Arduino goes HIGH, you want to play a video?


0 Kudos
Message 10 of 25
(4,050 Views)