LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to modify an FPGA.vi that has already been deployed on a cRIO and runs at start-up.

Solved!
Go to solution

Joe,

 

Thank you very much for the suggestions!  I am looking into the feasibility of implementing them right now!  I'll get back to you if I have any addition questions.  Again thank you,  - Regards, John

0 Kudos
Message 11 of 33
(1,002 Views)

Hi Joe,

 

I'm reading:

 

http://www.ni.com/support/cvi/serlprog.htm

 

We don't have LabWindows/CVI but could we perform the simulation using a GPIB Serial Poll vi or other? 

 

0 Kudos
Message 12 of 33
(985 Views)

Hi John,

 

I am sorry, but I am bit lost what is it that you are trying to do with the GPIB/Serial. Are you wanting to move the heartbeat over to this?

 

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....
0 Kudos
Message 13 of 33
(978 Views)

Hi Joe,

 

No, sorry for the confusion.  I'm thinking if I can detect a break in the line - that alone could signal the host and therefore the operator that something has occurred.  I'm currently looking at the Detect Break Event.vi in the example folder.  http://zone.ni.com/devzone/cda/epd/p/id/2676

 

Regards - John

0 Kudos
Message 14 of 33
(962 Views)
Okay, scratch that idea! 🙂 How can our host computer (laptop) tell if our cRIO is online or offline if they are connected directly to eachother with an ethernet cable?  - John
0 Kudos
Message 15 of 33
(947 Views)

Hi John,

 

I would look at some heart beat methods using shared variables or the sdr library.

 

You can impletement one by have a shared variable increment every x ms. You would just have to check that the shared variable from the previous interation and compare, but remember that you will have to account for roll over.

 

Here are a few links:

http://decibel.ni.com/content/docs/DOC-2078

http://decibel.ni.com/content/docs/DOC-8765

 

Please let me know how this work for you

 

 

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....
0 Kudos
Message 16 of 33
(933 Views)

Hi Joe,

 

Actually, can't I treat the laptop as a 'server' and the cRIO as 'client'?  That way when my 'client' is disconnected from the network my 'server' should be able to tell me right?  🙂  I am studying the data client and server examples right now.

0 Kudos
Message 17 of 33
(920 Views)
Solution
Accepted by Newton2this

Hi John,

 

You are on the right track. You can really abstract it as the cRIO being a client and the PC being the server.

 

Hope this helps.

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....
0 Kudos
Message 18 of 33
(901 Views)

Thank you Joe,

 

I found a thread that should help us.  - Regards, John

 

http://forums.ni.com/t5/LabVIEW/TCP-IP-Connecting-with-Real-Time-Controller/td-p/484153/page/2?query...

 

 

0 Kudos
Message 19 of 33
(890 Views)

Hi Joe,

 

It's me again! 🙂  Is there any chance of getting the linked zip files in my last posting to run w/o a fieldpoint controller?  Just asking.  John

 

 

0 Kudos
Message 20 of 33
(881 Views)