FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run a VI at CFP for a stand alone device ?

Dear friends,
 
I am new to Labview, using CFP 2100. What are the procedures to run/feed a VI into CFP such that it can operate a stand alone device (No PC connected).
 
Does it need to create an executable file (.exe) or we can directly copy and paste a vi into CFP? if so then where should it be pasted.
 
 
Help me even though it might be a very basic query.
 
 
thank you.
 
 
Alok Robot Happy
-AL☼K
0 Kudos
Message 1 of 5
(5,710 Views)
Alok,
 
For a complete standalone app, you will create an Executable for the cFP.  You could either create this on your Host (Desktop PC) LabVIEW and FTP it to the cFP (using any FTP client utility).  Or, if you are targeted to the cFP and create the EXE, it will automatically download it to /NI-RT/STARTUP  folder.  Which is where you want it if you want the EXE to run on cFP's startup. 
 
I am pretty sure all this info' is buried somewhere in the documentation (not sure where.. since I never had to read it  Smiley Very Happy  )
 
-Khalid
 

Message Edited by Khalid on 04-18-2006 10:06 AM

Message 2 of 5
(5,706 Views)

Thanx Khalid,

I am satisfied with your answer, and I did it too....but one more question droping in my mind..(actually i did't try yet)..

"wht if i paste more than one exe's in startup"

Thanx again Khalid,, i'll try it tomorrow...

 

cheers

 

-Alok Trivedi

-AL☼K
0 Kudos
Message 3 of 5
(5,691 Views)

Hello Alok,

Take a look at the Getting Started with the LabVIEW Real-Time Module manual, specifically the section titled 'Building a Stand-Alone Real-Time Application', for more information about building and deploying executables to Fieldpoint real-time targets.

As for what happens when you place two executables in that startup directory?  That's a good question.  I'm gonna give it a try and see what happens.  I'll let you know the results.

Travis G.
Applications Engineering
National Instruments

 
Message 4 of 5
(5,684 Views)
Hi Alok!

    Both answers are rigth, but a little notice (just to be clear!).  To control from a PC your cFP, you can use LabVIEW.  To download an application in a device as embedded sw, you need LabVIEW + Real Time module, so that you can address your PAC (the 2100).  Actually it is rigth for cFP-2020, but 2100 should behave similarly.

   Hope it helps!

graziano
Message 5 of 5
(5,672 Views)