FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Fieldpoint IO's dont work

Dear all
 
Im having  a very frustrating problem with realtime 8.0.1 and Fieldpoint.
 
 
When i use the Fieldpoint IO's it says error  32812 tag name not found
 
but the software works fine if i use the old fashioned way of creating tags from the iak file that i just created.
 
find attached picture.
 
 
0 Kudos
Message 1 of 13
(6,196 Views)

Sorry for the rushed question

from the picture you can see, the top loop refuses to work.  I created a new iak file the fieldpoint IO points and it works fine in runtime mode.  but when movin gto realtime unless i specify the iak file doing it the old fashioned way. it doesnt work.  is there anyway of telling real time to use a iak file?  or should it just use the last one opened and saved in max

 

if some one could give me a step by step procedure i would be very grateful

 

Kindest regards

Chris

0 Kudos
Message 2 of 13
(6,182 Views)

Good morning,

I have spent a lot of time struggling with this as well.  My solution has been go to the "Fieldpoint Device Selection" window and create a new configuration that has a name of my choosing and a specific path to the .iak file.  One note on the physical location of the .iak file.  If you plan to deploy a standalone .exe to a pc that will directly R/W cFP I/O,  make sure that the .iak file will be in exactly the same directory on both the development machine and the machine it will be deployed on.  If everything you do will end up being deployed to the cFP, then location is not so critical.  I have a mix of the two and have decided in my case that all development and deployment will be done under C:\Labview Data.   I have modified the LabView defaults to use this as the default working directory. 

You can create the new configuration by right clicking on the small arrow at the right end of the Fieldpoint I/O point on your block diagram.

Scroll up and select "Browse"

The "Fieldpoint Device Selection" window should now be up.  Select the "View Configurations" tab.

You can now create your own custom configuration that always points to a specific .iak file with a specific path.  Not the ever irritating "Current Project"

Once you create the configuration, select the "Browse Fieldpoint" tab.  You can now select the cFP I/O from the new configuration you created.

The downside of this is that you can no longer just drag I/O from the project view into the block diagram.  However,  getting rid of the "Current Project" syndrome is well worth it.

0 Kudos
Message 3 of 13
(6,170 Views)

Hi i'm stuck again im afraid

My "View configuration" tab is greyed out.

Its fine when i create a blank VI and just select a fielpoint object and put the fieldpoint io point in.

but when i create a new project and add the realtime filedpoint device in then add a vi and then put the fieldpoint io point on, the view configurations is greyed out and it doesn work.

regards

Chris

0 Kudos
Message 4 of 13
(6,157 Views)

Chris,

I'm not sure why it would be greyed out and I can't seem to recreate your situation on my system.

Try this.  Change the name of the .iak file to something other than "Fieldpoint".  Make sure the .iak file is in the same directory as the project.  Add the .iak file to the project view under the "My Computer" section.  Open up the .iak file in MAX and save it.  If this doesn't help, I'd be tempted to blow the .iak file away and recreate it.  I'm not sure how it would get corrupted but I've seen some kind of wierd things happen with .iak files.

 

 

 

0 Kudos
Message 5 of 13
(6,150 Views)

Chris,

I figured out how to duplicate your problem with the grayed out tab.  The problem seems to occur when you tell LabView to create a new RT project.  If you tell LV to create a blank project and then add the RT target to the project, you should be able to set up the configuration.  This acts like a bug in RT project wizard.  I'm planning to show it to my NI field guy on Friday.  Anyone else noticed this?

centerbolt

0 Kudos
Message 6 of 13
(6,141 Views)

I still get a greyed out view configurations even when i do what you suggested.

im sure I read somewhere that when using labview realtime, the view configurations is unavailable, but that still doesnt explain how i can get my io point working.

I go through these steps

create a new blank project

add the realtime fieldpoint target

create a vi

make a simple test relay card loop using fiekdpoint IO constants and FP write

press the run buttnio at the top

then i get error 32812 tag name not defined

my iak file has been named setup1.iak, i have put it in the project folder, i have added it to the project, i have cleared them all strted again, tried everything, downloaded thenames to the fieldpoint, saved. etc

i noticed that an iak file appears in the project forled called "whateverthe project is called".iak

 

0 Kudos
Message 7 of 13
(6,137 Views)

Chris,

Rename your .iak file to match the name of the project.  You will have to delete the .iak file that was created when the project was created.

0 Kudos
Message 8 of 13
(6,135 Views)

still no joy im afriad.

Im using labview 8.0.1 with realtime 8.0.1

i cant use the 8.2 even though i have thenm because i havnt got labview PDA module 8.2 yet.

Ive tried so many possible combinations now im thinking it may be a bug somewhere.

my collegue has the same problem though so I cant believe it is, + its works when i dont use realtime, there must be something it does when i add the realtime target onto the project.

 

thinking abou ti tif i dont add a realtime target and create a program that will not load the porject onto the filedpoint and uses the computer to run it.  whereas when i add the realtime target the vi now exists in the fielpoint subtree, so is it something to do wit hthe VI properties??

thanks for all your help, once again, Chris

0 Kudos
Message 9 of 13
(6,134 Views)

Chris,

You are right about the RT target.  I just did some playing around here.  I created a vi that was not targeted to a RT target and verified I could create the configuration.  I then used the project view to move the vi from "My Computer" to my RT target.  The option to create the configuration disappeared.  I must have done my earlier test with the vi not targeting RT.  My bad.

If the .iak file is named "project name".iak, is in the project directory and was the last .iak saved from MAX, this should work.  If you open the .iak file in MAX, does an item called

"Fieldpoint Items ( project name.iak )" show up in the data neighborhood?  Can you write to the I/O from inside MAX?

0 Kudos
Message 10 of 13
(6,126 Views)