LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO project conflict

Solved!
Go to solution

Hello!!!

 

I want to control a unit either by a PC or by a touch panel. For this reason I made a project that you can see in the attachment. The RT_30_3_2009.vi has been deployed as start up vi on the cRIO. When I am trying to run the PC_26_3_2009 LabVIEW breaks down. Can somebody help?

 

Thank you in advance 

0 Kudos
Message 1 of 8
(3,543 Views)
Sorry, I didn't attached the vis
Download All
0 Kudos
Message 2 of 8
(3,542 Views)

Hi Thorfano,

 

Could you please post your entire project file? I would need all of your project contents, including the FPGA, RT host and windows host VI as well as the .lvproj file. To do this click on the File Menu and select Save As >> Duplicate .lvproj file and all its contents. When the dialog box for saving comes up just create a new folder and click Save. Zip up this folder and post it on the forum. Thanks!

 

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 3 of 8
(3,511 Views)

Good morning Ipshita,

 

Thank you for your reply. Trying to dublicate the project I realized that the new save doesn't include vis. Could you please advise why this is happening. I am sure that I am making a mistake but which one?

 

Thanks in advance 

0 Kudos
Message 4 of 8
(3,495 Views)

Sorry for the successive post, however I really can't understand what's happening. I have all the components of the project in the same folder. I zip the whole folder and when I tried to open the project (from the zipped file) the pc send a message that can find the LV Libraries (*.lvlib). I will soon get crazy, please advise.

 

Thanks again 

0 Kudos
Message 5 of 8
(3,492 Views)
Solution
Accepted by LW42

Hi Ipshita,

 

I realized that if I add a delay in the PC vi it works properly.

 

Thanks for your time 

0 Kudos
Message 6 of 8
(3,479 Views)

Hi Ipshita,

 

Could you please help me to this:

 

as I have already mentioned I created the project to control a unit either by a PC or by a touch panel. What I want is to run two vis simultaneously (one on the PC and one on the touch panel) in order to have the ability to save data on the PC even when the unit is controlled by the touch panel. However, I don’t want the unit to accept commands from the vi Touch panel and the PC simultaneously. Thus what I did: made a vi (containing the main core code) which I deployed on the RT as start up vi. Then I made 2 vis, one on the PC and one on the Touch Panel, containing the connection of variables to shared variables. Please take a look at the vis already posted. However the concept doesn’t work at all. Could you please correct me or advise the proper way to obtain my objective?

 

Thank you in advanced

0 Kudos
Message 7 of 8
(3,464 Views)

Hi Thorfano,

 

I am sorry for the miscommunication regarding the project. By a zipped folder containing all project contents, I mean your project with the .lvproj file. That would help me open your project with the VIs. Please follow the instructions I have put in the previous post of clicking Save as and then duplicating the project file and all its contents. Regarding your application, please tell me a little more about what kind of unit is being controlled by the Touch Panel and the PC? How is your unit communicating with the PC and the Touch Panel? Your Touch Panel application is essentially an executable while the unit can directly interface with your PC through our Data Acquisition or GPIB cards. Also, how is RT involved in your system--as it seems to be using a touch panel and PC? 

 

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 8 of 8
(3,430 Views)