LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Few cFP questions

been there, done that...havent tried moving it to the same folder as the project however, but I doubt that will help.

also, editing a file when module setup changes is not an option, this needs to be done within the progam. (somehow :S)
0 Kudos
Message 11 of 17
(1,323 Views)

Part of your message got garbled. Do not understand what you were saying. The following is a response to the parts I think I understand.

I assume during the project build, you have added the iak file into the project my computer list. You have now the option to add the file as part of the executable build as an additional file or you can add it the installer as an additional file to the directories that are available on the installation. Once you have install the module, you can now use Max to open the file. From that point on, the executables will use the setup of the IAK file.

When you say that you have to change it within the program, my question is what are your criteria for your change? If the CFP is on the network how do you know what is available? If it is on serial line, you will need to do more work with regard to extract the information and how to correlate the different channels for your program. I have not done this and you will need to do more work.

Another thing, you are going to need to define what you mean a module changes. No matter what you do, you will need to configure a bunch of things. At the very least, you will need to do a Max change. In my setup, I had to swap a AI-100 to AI-110 module. All I did was alter Max and the program ran without any alteration. That is the reason, I have all the cFP modules named. If you changed the module, you merely have to swap out the module, re-identify the module, and rename the cFP module instead of some cryptic name base on the position of the module and the type.

0 Kudos
Message 12 of 17
(1,313 Views)
My setup is like this:
 
I will have 4 different cFP devices with their own IP adresses, say 192.168.0.20-23.
 
I will also have a few TC-125 thermocouple modules, that in most cases will not be moved between the modules, but it should be possible to have 4 modules in one cFP backplane and measure from all channels. A measurement will start with the user first selecting what cFP device (backplane) to use, and then install the number of modules he needs. Then, in the program, he inputs what backplane he wishes to use and selects the appropriate modules connected to thesame. All modules are connected over ethernet and have static IP's.
 
Comming from a bit more low-level programming, I truly cannot see why this should be a problem doing this without involving MAX, and I also find this MAX-thing very buggy, and sometimes it works, sometimes it doesen't...and when it doesent, the solution is always to remove everything and re-add it...and then it works.
 
This error is the one I usually get in MAX, and even if I can select the proper devices in the dropdown-list in my progreeam, and browse for them and all...I dont get any readings.
 


Message Edited by Tohatsu on 12-17-2007 01:45 AM

Message Edited by Tohatsu on 12-17-2007 01:46 AM
0 Kudos
Message 13 of 17
(1,299 Views)
I cann't help you on your method. It is beyond my expertise. It looks like you will have to low level program the setup. I could be wrong, the way the fieldpoint works requires the Max setup. If the modules were static, then my method would work.
 
The error you have seem to be an incompatible module in the backplane. You can fix it by doing a refresh. on your device.
0 Kudos
Message 14 of 17
(1,290 Views)

Okay, attempting this again.

Installed the Field Point 6.0 software for LV 8.5 (I still did not get the 'advanced' option (see image)http://layer.uci.agh.edu.pl/~mikrobi/labview_pl/cFP/Adv._cFP.palette.JPG , but I guess that's not important.)

Anyway, I did all my setups in MAX, saved the .iak, See Image1, included the .iak to the project (My computer -> Add File), added as "source file" to the build (as 'Always included') See image 2, imported the configuration(stored in the Data-folder in the build) in the project (Project -> import -> FieldPoint configuration)

But still, when I build and then run the app (on the same machine as I develop on) I get an error saying necessary components are missing(See image 3). However if I just run it (in the LV development environment, then I get the browse dialoge, see image 4). Image 5 shows my project overview.

 

Image1 - http://forums.ni.com/attachments/ni/170/311995/2/MAX.png

Image2 - http://forums.ni.com/attachments/ni/170/311995/3/project.png

Image3 - http://forums.ni.com/attachments/ni/170/311995/1/prog.png

 



Message Edited by Tohatsu on 03-28-2008 06:42 AM

Message Edited by Tohatsu on 03-28-2008 06:47 AM
Download All
0 Kudos
Message 15 of 17
(1,184 Views)
added images:
 


Message Edited by Tohatsu on 03-28-2008 06:44 AM
Download All
0 Kudos
Message 16 of 17
(1,182 Views)

Okay, seems like I've solved most problems now, but one...I still cannot get the browse dialoge up when I run the .EXE

 

what component might be missing? and how do I include it in my build?

 

here's how it's supposed to look:

 

Thankful for any ideas/suggestions et.c.

Anders

0 Kudos
Message 17 of 17
(1,157 Views)