Tips on transferring LV executable that uses Field Point Serial to another PC

I have been trying to transfer an LabVIEW compiled executable  from one PC to another
The executable references 2 field point serial banks.
After hours of frustration I think I have it pinned it down to the fact that (at least for me) It is not possible unless LabVIEW is invoked on the target machine.
Only if I start LV 2010 and configure a field point control on it then LabVIEW can refer to the Bank. After that I can have it refer to the correct IAK file and the executable will work. 
However IF I try to transfer from another machine without starting LabVIEW on the target machine it simply will not work for me.
It seems that I have to load a FIeld point control on a block diagram of a new machine then configure it to get dialogs to come up specifying
how to select the proper configuration. I do not see any of this help in MAX
Id much rather have a way of setting up in MAX than having my EXE work right away. Instead my workaround is to
start LabVIEW and configure a field point control to get it set up proiperly.
This means I may have to install yet another version of LabVIEw to get the exe to work again and its getting tiresome.
I use INI files for the serial port settings. Its the field point software that has me going in circles.
If anyone have any experience or tips for transferring an executable that uses fieldpoint serial (FP-1000) from one PC to another PC
without having to invoke LabVIEW to configureit I would be interested in hearing from you. Thanks
PS Target machine has LV2010   MAV ver 4.70f4
Executable compiled in LV 2010
Source Machine has LV 2010 SP1  MAX ver 4.7.6
Executable compiled in LV 2010 SP1
My next move is to upgrade the target to 2010 SP1 and try again but it has already taken me days to transfer this one program
and I still cant figure out how to do it so I might just wait and see if there is any interest in helping me first.
Thanks again!

I have been to these KnowledgeBase links and what is so frustrating about it is that I have have not seen anything that was not already done
automatically when I created the executable on the source machine and transferred the executable to the target machine.
http://digital.ni.com/public.nsf/allkb/734179A2A6779C4286256C4C0069C5F4
http://digital.ni.com/public.nsf/allkb/2DC46E07FAA0A5EF86256F35006E9AE5
http://digital.ni.com/public.nsf/allkb/0E9001A8C84CD89486256DE80073F198
MY FP version is 6.07 on both machines.
The dll is where its supposed to be on the target machine in a Data subfolder under the main application (exe) folder
The IAK file is created in MAX with the designations identical to what is the source machine.
The EXE is now partially working (somehow) but I am trying to find out the exact procedure for next time so I can write it down for future reference..
EVen though the target application now 'sees' the Field point banks the utility I added into the exe to allow user to configure a front panel Field Point control
(should it be required) does not work. Instead when I try to browse configure the control in the executable I now get this error dialog.
This must be the root of all my troubles.
I am now attempting to resolve this by installing LV2010 SP1  and DCD_NOV10 on the target machine so that it matches the source machine.
(If I am going to re-install Fieldpoint I might as well install the whole Device Driver CD)
I hope this solves this issue once and for all.
Your knowledge base insists that if the field point versions are the same on both machines and if the DLL is where it is supposed to be and if the IAK file is loaded and saved
this should work. It did not and still does not fully work. If I can find the exact reason I will report it in this thread.
Attachments:
ni-FP-error.GIF ‏16 KB

Similar Messages

  • Can I measure Vibrating Wire Strain Gauges using Field Point Inputs?

    Is wish to connect a Vibrating Wire Strain Gauge using Field Point.
    The sensor requires a swept frequency excitation (typically 400 to 1500 Hz) and then generates a frequency output proportional to the strain applied on the vibrating element. The frequency (roughly upto 1kHz) needs to be measured.

    What sort of resolution is needed on the frequency sweeping? There are currently four FieldPoint modules that can be used for generating pulsed outputs; the FP-CTR-500, FP-CTR-502, FP-PWM-520 and FP-PG-522. For the remained of this posting, I will use FP-CTR-50X to represent both the FP-CTR-500 and FP-CTR-502 as they are identical in functionality, different in their input/output stages.
    The FP-PWM-520 is a Pulse Width Modulation output with 12 bit resolution on duty cycle and 16 bit resolution on the pulse period. The period is adjustable from 1 to 655535 milliseconds, which makes the module slightly less than ideal for frequency sweeping as it's highest frequency is 1 kHz and it's second highest frequency is 500 Hz.
    The FP-PG-522 is a Pulse Generator module that can operate in an continuous pulse mode. The On Time, Off Time and resolution (time base) are adjustable. The smallest time base is 100 ms, for a maximum output frequency of 5 kHz. Like the FP-PWM-520, the FP-PG-522 adjusts it's output rates by changing the time rather than the frequncy, making it difficult to smoothly sweep across frequencies.
    Finally, the FP-CTR-50X modules may be used. The FP-CTR-50X modules have 8 16 bit counters, 4 Gates and 4 outputs. The module has two internal clocks, 1 kHz ad 32 kHz that can be used to feed the counters. The outputs can be configured to toggle each time an adjustable terminal count is reached, allowing output pulse generation of up to 16 kHz (32 kHz internal clock divided by 2). The FP-CTR-50X modules have the advantage over the above modules in that the counters can be cascaded and set for differing terminal counts allowing multiple pre-scalers which may allow better resolution of generated frequncies.
    For measuring the output frequency generated by the gauge, the only current modules that will allow you to directly measure the output are the FP-CTR-50X modules. However, as they were primarily designed for event counting, it takes a little bit of extra programming to allow them to be used to measure frequencies. The effectiveness of frequency measurement on the FP-CTR-50X modules varies on the sampling period, the programming and the network module. There are several KnowledgeBase and Developer Exchange articles talking about how to use a FP-CTR-50X module to measure frequencies, so I will not duplicate the information in this post.
    Regards,
    Aaron

  • I have a FP-1600 and a FP-AO-200 module, 0-20 ma. When I use Field Point Explorer 3.0.1, I can not command any of the channel output current. The current remains in the lowest value 0.0035 A. What is the problem ?

    I have a FP-1600 and a FP-AO-200 module, 0-20 ma. When I use Field Point Explorer 3.0.1, I can not command any of the channel output current. The current remains in the lowest value 0.0035 A. What is the problem ? The communications with the module are OK, because it shows when the current are open or closed.

    Jorg,
    I noticed that you claimed to be using the module in 0-20mA mode, yet the reading you are seeing is 3.5mA. This is the minimum value (with overranging) when the module is set to 4-20mA mode. My guess is that your module is defaulting back to 4-20mA mode, but your IAK file still thinks the module is in 0-20mA mode. You can verify this by using the find devices button in FieldPoint Explorer and then trying to write to the channel.
    To fix this problem, you should use the snapshot feature to change the default power-up mode for that channel.
    Regards,
    Michael Shasteen
    Applications Engineering
    National Instruments
    www.ni.com/ask
    1-866-ASK-MY-NI

  • I had installed adobe Cs5  on previous laptops but and those laptops are damaged now I want to  use the same serial on another laptop what should I do?

    I had installed adobe Cs5  on previous laptops but and those laptops are damaged now I want to  use the same serial on another laptop what should I do?

    Well, what is your problem?
    If you are entering your serial number and being told you have used up your activations, you will need to contact Adobe to have your activation count reset
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Help building an executable that uses a factory pattern

    Hello,
    I'm trying to build an .exe from a VI that uses the factory pattern. The VI gives me the error that it can't find the classes to load and is looking outside the .exe file to find them. The specific error is:
    "Get LV Class Default Value.vi<APPEND>
    <b>Complete call chain:</b>
         Get LV Class Default Value.vi
         Main.vi
    <b>LabVIEW attempted to load the class at this path:</b>
    C:\ATE\Experiments\Build Testing\Builds\Virtual Classes\High Class\High Class.lvclass"
    I thought those classes were bundled into the .exe when it was built? I have included the class folders in the "Always Included" window of the build script.
    Any help would be appreciated. I'm fairly new to classes and I haven't built an .exe with an app using the factory pattern.
    Thanks,
    Simon
    Attachments:
    Build Testing.zip ‏491 KB

    This might be the answer.  I found the following checklist on Building Executables.  It really is referencing things other than Objects, but maybe Object folders also need to be properly located ...
    Bob Schor  [the stuff I found is below this line ...]
    Ensure paths generate correctly.
    Details
    If a VI loads other VIs dynamically using VI Server or calls a dynamically loaded VI through a Call By Reference node, make sure the application or source distribution creates the paths for the VIs correctly. To ensure paths generate correctly, use relative paths to load the VIs. The following table depicts the relative paths for a top-level VI, foo.vi, which calls a.vi and b.vi. C:\..\Application.exe represents the path to the application.
    Path to source files
    Path to files in application
    C:\Source\foo.vi
    C:\..\Application.exe\foo.vi
    C:\Source\xxx\a.vi
    C:\..\Application.exe\xxx\a.vi
    C:\Source\yyy\b.vi
    C:\..\Application.exe\yyy\b.vi
    If you use the LabVIEW 8.x file layout and you include dynamically loaded VIs in the application, the paths to the VIs change. For example, if you build b.vi into an application, its path is C:\..\Application.exe\b.vi whereC:\..\Application.exe represents the path to the application and its filename.

  • How to create executable that uses mathscript? (LabVIEW 8.2)

    Hello all, I have a rather lengthy algorithm developed in MATLAB that needs to be ported to LabVIEW 8.20, with the restraint of having to execute my code in under half a second. If I use the MathScript node/window, I can get the code to run in ~100ms by compiling it in the window and then running the VI. If I don't compile the code before running it, it takes approximately 16 seconds each time I run it, plus some hang up time after it finishes, as if it is closing something. However, it seems that I have to recompile every time I load the project or close/reopen the MathScript Window. My first question is if there is anyway around this, like saving the compiled code to be used if the program is closed and reopened. But in the end, the whole thing must go in an executable. I saw that in 8.20 MathScript code can be built into executables, but the executable that results still takes 48 seconds to run each time. Is this unavoidable? In the build specifications, I've checked the Enable MathScript Support box, and included the code file in the Dynamic VIs/Support Files category and have tried all the options under Additional Exclusions in the build spec window. By compiling the code in the MathScript Window and clicking Save All in the Project Window, there is an option to save a VI that the script seems to have created, which I have also tried to include in the build but received the same results. Any help at all would be greatly appreciated. Thanks in advance,
    Chris

    Hi Janell, thanks for responding.
    The exe does not run any faster if I run it multiple times. I've only
    ever run it three times in a row, however, before giving up on that
    build.
    I've attached a zip of the project folder that includes the m file and
    the project/VI files. The exe is also in there in the folder 'Cueing'.
    I did make a simple MathScript program that added two numbers and it
    ran fine, both using a function call and the MathScript window and just
    putting the code in the MathScript node. Both implementations had no
    problems, neither did the exe's using either method.
    Thanks,
    Chris
    Message Edited by ChrisReeves on 07-26-2007 01:41 PM - Well, I don't know if I will be able to attach the exe since the site is timing out on me when I try to upload it. It might just be too big.
    Message Edited by ChrisReeves on 07-26-2007 01:44 PM
    Attachments:
    Cueing.zip ‏130 KB

  • I have problem in transfeering data using field point via tcp

    I am reading the values from the filed point, which is connected, to the RT controller and transferring the values to the client PC via TCP at a specified acquisition rate.
     Case1 when the acquisition rate is 0.1 minutes I get the values from the controller correctly i.e. 5v, 5v, and the chart shows no change. The timed out of the TCP read is default value i.e. is 250ms
     But when I change the acquisition rate to .5 minutes I get the values as 5v, 0v, 5v, and 0v. The time out of the TCP read is same as first case. The inputs to the field point are at the constant 5v.
    Please tell how to solve the problem so as to see the plot in the chart continuously as inputs for the field points the read
    ing are at constant rate of input 5v.

    Suresh,
    Since this question deals with using the LabVIEW TCP/IP functions, you are better off posting it to the LabVIEW discussion forum.
    Regards,
    Aaron

  • When using field point I/O points i get error message

    when labview 1st loads and i open my FP vi which uses FP I/O points to specify the channels, they are all greyed out and the error "unable to bind to comm port" is returned. on running the program a second time, no errors are returned. also i cannot get an executable of the program to run without producing that error.
    Any ideas?

    Hi Stewbert,
    The "Unable to bind to COM port" error indicates that FieldPoint Explorer cannot use the specified COM port for communication. The two general cases that cause this error are that either the COM port is not configured properly or does not exist, or that the COM port is already in use by another program. To check the COM port and eliminate this error, follow the steps below.
    First, quit all other applications that may use the COM port. Note that the serial cradles for the popular Palm or Handspring Personal Digital Assistants (PDAs) can connect over a serial port, and therefore you may need to quit the "Hot-Sync Manager" program if your computer is configured to use a Palm.
    If closing all other programs that use the COM port does not elimin
    ate the error, then next check that the COM port is configured properly. From the Windows task bar, Select "Start >> Settings >> Control Panel >> System >> Device Manager >> Ports". Confirm that the COM port you have specified is in the list, and that Windows indicates that "the device is working properly". Additionally, if the COM port has been added through additional hardware, then use any available diagnostic utility that may have come with the board to test the COM ports. For example, if the COM port is added through a NI-Serial board (PCI-232, etc), then selecting "Start >> Programs >> National Instruments >> NI-Serial >> Diagnostic" will run a diagnostic of those COM ports. Correct any problems that are found, and then continue with configuration in FieldPoint Explorer.
    Please let me know if that helps
    Thanks
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer

  • Can I collect the pulse data using Field Point?

    I have a water flow meter, which outputs pulses. I use a counter to connect it and read the data. Now, I want to read and save the data in the computer using LabView and Field Point. I think this can be done if I can collect the number of pulse. I am wondering how to do that.
    Thanks.

    Dear Zl,
    Counting pulses is much easier with the FP-QUAD-510 or FP-CTR-500, but can be done with the FP-AI-110.  You can't directly count the pulses with a FP-AI-110, but you can do it in software. Bring in the data by doing a normal read. Then, using shift registers, if the previous voltage is less than .8V (low) and the current voltage is more than 2.5 (high), increase the pulse count. I have attached a program that shows what to do with the data once you bring it in. I took the data from an array outside the while loop, but your data will be brought in one point at a time inside the while loop. One thing to take note of, since Fieldpoint brings in data at 1 kS/s, this will only work with pulses slower than 500 Hz. The farther the duty cycle is away from 50% duty cycle, the slower the signal must be in order to catch the pulses correctly. Please let me know if you have any questions. Have a great day!
    Sincerely,
    Marni
    PS- Please only post question once.
    Attachments:
    pulsecount.vi ‏22 KB

  • Using field points how the dc voltage measuremen​t is done?

    i am new to labVIEW..  Using cFP-AI 100  i am trying to measure a dc voltage [5volts].. all the field point items are configured on MAX. when the example VI provided runs there is error indicating that the connection is broken or network module is not pwered on.. but i have checked both .. What may be the problem?

    Hi ELUE,
    When you say "all the FP items are configured on MAX," does that mean you can see and connect to the device? Can you take readings in MAX from the FieldPoint module I/O menu under the Data Neighborhood?
    If you're able to read from the I/O menu you are probably using the default I/O point in the example. It's usually necessary to choose the I/O point before running the example.
    Cheers.
    | Michael K | Project Manager | LabVIEW R&D | National Instruments |

  • Using field points how the dc voltage measurement is done?

    i am new to labVIEW.. Using cFP-AI 100 i am trying to measure a dc voltage [5volts].. all the field point channels are configured on MAX. when the example VI provided runs with the proper i/o point is selected] there is error indicating that the connection is broken or network module is not pwered on.. but i have checked both .. What may be the problem?

    Hi ELUE,
    Could you please let me know if the status LED (or any other LEDs are blinking) in a particular pattern on your fieldpoint controller? Also, could you please let me know what controller you are using and if you get a particular error code? Thanks!
    Best regards,
    Steven

  • What drivers need to be installed on a target in order to run an executable that uses USRP VIs?

    I'm having trouble running a build executable using the USRP VIs on a target machine.  What drivers do I need to install to get this to work?
    Robert C. Mortensen
    Certified LabVIEW Architect
    Certified LabVIEW Embedded Systems Developer
    Endigit

    Thanks for your help, Sam.
    My VIs aren't runnable because they are missing dependencies, including usrp.dll.
    I'm using USRP-2930 with LabVIEW 2013 and TestStand 2013.
    So the NI-USRP 1.2 driver needs to be installed on the target machine as a separate install, even though it appears to be a development install?
    Whenever I deploy code to a target machine, I build the executable (which includes any code dependencies, including certain dlls, which it puts in the "Data" directory by default) and then build an installer, which optionally includes all the necessary drivers and LabVIEW Run-time Engine.  I've never run into anything that falls outside this process, like it appears the NI-USRP driver does.  It doesn't seem to get pulled into the executable as a dependency and doesn't show up in the list of includable installers when building an installer in LabVIEW.
    I'll try out the NI-USRP 1.2 driver install on the target machine and see if that fixes the problem.
    This situation creates a further problem when trying to create a deployment install from TestStand.  Since the dependencies aren't automatically pulled in, TestStand detects that the VIs are now broken and aborts the install.  How do I get around that problem?
    Thanks again,
    Robert
    Robert C. Mortensen
    Certified LabVIEW Architect
    Certified LabVIEW Embedded Systems Developer
    Endigit

  • Will an executable that uses ActiveX controls work ?

    I'm using a typedef control (.ctl file)that's pointing to a type library (COM Object) file in the folder with the rest of the VIs. This was an attempt to ensure that the client (who doesn't have LV-DS) wouldn't have to worry about LabView not finding the type-library. I made my build using the top-level VI but it doesn't run. Could there be something I've missed ?
    Thanks,
    Shiv

    As far as I know, you have to register your component with the target machine. First try manually to check if it's working, using "regsvr32" at command prompt. After, you can integrate a BAT file in the installation kit (to do the same thing automatically).
    Hope this helps

  • Can I create a java app for my palm zire 71 that uses floating point calc

    I am an eclipse user that is looking at studio creator 2 and was wondering if I could create a java app for my palm zire 71. I have read alot about no floating point support in midp... is that true for java on the palm? If so, how does one calculate with floats and doubles to do sqrt functions etc?
    Thanks in advance for your time
    Dean-O

    I looked at netbeans and it does not support floating points in midlets. Not good for palm app if no floating point ability. J2ME supports floating point but in netbeans... is uses midlets and there are no floating points. Now what does one do? Not that dreaded C++
    THanks in advance
    Dean-O

  • I am using field point to replacement plc, i need to control stepper motor by using field point, what module should i buy and how to control it?

    Can i use FP-PG-522 or FP-PWM-520 to control the stepper motor.

    Cheeking,
    I think Aaron has answered this query at: http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000E16E0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    Pravin

Maybe you are looking for

  • Aging reports that display reconciled transactions

    Currently ie 2007a PL 35, when an aging report is run that displays reconciled transactions it is displaying all reconciled transactions including those reconciled before the aging date. My understanding of this feature was that it was intended to al

  • How can i add a new viewer to 9iAS and push client to run it ?

    Dear All, I hosted a page on Oracle9iAS which has links to documents of different types of desktop applications, for example: MS word, Excel, AutoCad ...... And i've a mutiformat viewer which i need to install it on Oracle9iAS to be run when a client

  • Case sensitive table names

    Hi all, I create a table named "Organism" on my marvel schema. When I do a SELECT * FROM "Organism", I get correct results, but when I try to do DESC "Organism" I get an error message saying the table doesn't exist. Is there something I am missing ?

  • Errors don't appear in error.log or any logs

    Hi guys, I am getting some exception errors on pages in Author but when I go to the log directory under /author/crx-quickstart/logs, checked error.log and other logs, but none of the exceptions were in there. I cleared cache, reloaded the page which

  • Forms 9i on Linux 9 in Development Environment

    I installed Oracle DB 9.0.2 and 9iDS 9.0.2 on a Linux 9 (Kernel 2.4.20-6)Server. I can run listeners (HTTP, OC4J, etc.) without any problem and then connect through a Linux Client (another Computer) to the server and access the database. I created th