Real time deployment problems
Im some having problems deploying my realtime applictation to my RT target. Im unsing Labview 8.6 in windows and Real time 8.6.1 on an PXI-8110 target.
When I first deploy the VI after the RT target boots, The following error appears on the target screen:
Error loading 'ws2_32.dll':missing export 'RegNotifyChangeKeyValue' from 'ADVAPI32.DLL'
If I then try running it again, it will work fine without the error, deploys fine and the program runs fine. Ive been ignoring this problem thoughout the development of this program because I just get the error the first time deploying it after the target boots.
Now that my program is finished im trying to deploy it as a built application and set it to run on the RT controller at startup. The program builds fine with no errors. When I try to deploy it to the target, it fails to deploy. There is no explanation in the error, it justs says that it failed to deploy.
If I then go into the project explorer, right click on the main VI that the application is built with, select deploy, It deploys without error. after i do that, the realtime application I built will deploy without error. However it will not run a startup, the controller boots, states it is loading the startup realtime application, then does nothing. Im wondering if the dll error before is related to it.
Another note, I had this program running fine and deploying fine a few months ago with Labview 8.5 and Realtime 8.5 on a PXI 8106 controller. These errors started popping up when I upgraded to RT 8.6.1 and labview 8.6. I have tried formatting the controller and reinstalling everything but I get the same error.
Mike-
Take a look at the KnowledgeBase 3UJACBE9: FTP Transfer of Files between Host and Real-Time Targets in MAX. As far as exactly what you will need on your PXI-8110 for your project, that can’t be defined on generalities. These controllers are used for so many different applications, modules, toolkits, and different combinations of hardware, it would be impossible for National Instruments to say this is the perfect setup for everyone.
ADVAPI32.dll is a System32 dll as described in this forum. I would suggest taking a look at that thread for more of an explanation.
Regards,
Mike S
NI AE
Similar Messages
-
Hi SAP Experts,
I would like to understand more details on real-time deployment functionality of deployment. Does real time deployment works for multi-level location scenarios ?
As I understand the real time deployment first runs the SNP heuristics to consider the latest demand supply situation but does it run the heuristics for the entire network for that product or only look at the location connected one level up from the supply location ?
Example: I have a Markets A, B and C which are connected to in-stock locations X, Y and Z which send the net requirements to the plants A B C.
My supply chain is plant 1, 2, 3 are connected to stock locations X, Y and Z and which in turn are supplying to each markets A, B and C.
If I want to run the real time deployment using supplying plants 1,2 and 3
the real time deployment will only deploy receipts to in stock locations X, Y and Z (which is one level up from the plants) or
Will I see the deployment results at markets A B and C (all through the network upto the markets)
Does it looks at low level codes in the network while running the heuristics for the product.
Real time deployment at supply locations only look at in stock locations Z, Y Z or when it runs the heuristics it actually runs the heuristics at the market locations A, B C to update all the net requirements at X, Y, Z and then run heuristics at X, Y, Z to calculate net requirements for plants 1, 2, 3 and the deploy in reverse order up the way to markets from supply plants. Does it looks at low level codes in the network while running the heuristics for the product.
Thanks and regards,
AmitHi Amit,
Like you i am also exploring real time deployment.
As far as i have understood , real time deployment will run a heursitic between the source and destination location(if specified in SNP02 ) or run heuristic on all t-lane connections between source and all possible destination locations (if dest loc not specified in SNP02) & then take the normal deployment run.
This will be valid for scenarios wherein you want to consider destination locations demand arriving after the last SNP run.
Hope this helps.
Do come back with your testing results.
Regards,
Vinay -
CompactRIO Real-Time Deployment Requirements
Hello, I have a few questions regarding the requirement of NI's Real-Time Deployment Option and a cRIO. I have multiple licenses of LabVIEW 2009, some with the Real-Time option and some without. That being said, I am wondering what functionality will be missing from the machines that do not have the Real-Time option installed on them. I borrowed a cRIO from someone and was able to read a voltage from the cRIO without having the Real-Time Deployment, so I am not sure what I am missing regarding functionality and not having Real-Time Deployment installed. Any information on the subject would be greatly appreciated. Thank you.
MichaelMSATLAB,
I see three pieces of software potentially involved:
1) LabVIEW
2) LabVIEW Real-Time Module
3) LabVIEW FPGA Module
With just LabVIEW, you can deploy a prebuilt bitfile to the FPGA and communicate with that bitfile. You only need the NI-RIO driver. (In order to built bitfiles, you need the FPGA module.) However, without the Real-Time module you won't be able to communicate with the controller portion at all.
With LabVIEW and the Real-Time module, you can interact with the controller and multiple hardware cards. If you don't have the FPGA module (to build a bitfile), you can use the Scan Mode interface to the FPGA. With the Real-Time module, you can also deploy network shared variables to the controller itself. (Once they're deployed, they stay deployed until you specifically undeploy them or format the controller.)
An ideal setup perhaps for you would be to do the following:
On a computer with LabVIEW, the Real-Time module, and the FPGA module, create a startup executable (for the controller), create a bitfile (for the FPGA), and deploy network shared variables (to the controller) that can be read from LabVIEW on any other computer. Without knowing more about how your cRIO was configured beforehand, it's hard to tell how you got a valid voltage reading. It's possible that you used the process I outlined here.
Kevin S.
Applications Engineer
National Instruments -
Logical standby real time apply problem
Hi all,
The real time apply for logical standby on my Oracle 10.2 DB is not working
SELECT SEQUENCE#, FIRST_TIME, APPLIED
FROM DBA_LOGSTDBY_LOG
ORDER BY SEQUENCE#;
SEQUENCE# FIRST_TI APPLIED
2113 07/10/09 NO
2115 07/10/09 NO
2116 07/10/09 NO
There is no error inside alert log.
Any help
ThanksUsing Real-Time Apply to Apply Redo Data Immediately
http://docs.oracle.com/cd/E11882_01/server.112/e25608/log_apply.htm#i1022881
1.What is compatible parameter, it should be 11.1
2.Try to check parameters mentioned in below link:
http://easyoradba.com/2011/01/10/real-time-apply-in-oracle-data-guard-10g/
Regards
Girish Sharma
Edited by: Girish Sharma on Nov 15, 2012 12:37 PM -
Real Time Simulation, problem with the 3D Lookup table
Hello,
I have a problem with LabVIEW RT. I want to read under the parameters of temperature, time and voltage, the current out of a matrix.
The matrices differ only in the temperature (first entry in a matrix).
If the 3D Lookup table only get one matrix, I often get "Not a Number" as result. But not always, although the parameters remain the same.
If the 3D Lookup table gets three or more matrices, the result never be "Not a Number". But the 2 other matrices are "dummys" filled up with zeros, expect the temperature. Also the problem appears only if I start the test sequence as Startup on the RT-System. If I start the test sequence from the Front Panel, the 3D Lookup table works well, whether one or more than three matrices!
Its confusing, I know ^^
The appendices contains pictures from a matrix an from the Block Diagram
Attachments:
Block DIagram.jpg 146 KB
Current-Matrix.png 27 KB
Dummy-Matrix.png 12 KBHello salomon,
The 3D lookup table is not generated in my code, but is invoked as a constant. I examine the behavior of electrical loads in the cars. Consumers were in a climate chamber measured at various temperatures and these values were packed into a 3D lookup.
Helps you even further? : D -
Development time Deployment problem
hi
I'm new to EJB.I'm facing a problem of making jar everytime i make correction to any of the page/bean of the project.
I've to delete the jar first then create a new one & then deploy it on the server.this process i've to repeat everytime.Is there a way by which i can avoid repeating this.
i'm using Forte for java as editor.
the way we do in JSP application with forte as editor.
I hope the problem is clear & i'll certainly get the help.hi
I do this task by deploy tool in j2eesdk, there's update-files-tool in the menu that updates all files in my jar (ear).
If you don't want to use this interactive tool, you can use "ant" (see http://jakarta.apache.org/ant/index.html)to do all your actions automatically.
QuiQ -
Pxi 1042 configuration for Real-Time
I have purchased
PXI-1042
controller 8187
one module for data capturing.
I want to configure the said pxi for Real-Time purposes,
so what steps should I follow?
thanks
Abbas
Solved!
Go to Solution.The Real-Time Deployment License is different from the LabVIEW RT module.
When you purchase a PXI controller, part of what you are buying is the operating system that is installed on it. If you purchased the controller with Windows on it then you purchased the copy of Windows that came with it. Now that you want to put the real-time operating system on it, you need to purchase the license for it.
But that's all legal stuff.
And you are correct that there is a copy of the RTOS on the controller. But if your controller has its disk formatted as NTFS you will not be able to use it. The RTOS requires that the hard drive be FAT32.
If your controller is FAT32 then you can boot into BIOS (hit delete while booting), and select Real-Time in the Boot Configuration to make your controller boot into Real-Time.
If you controller is not FAT32 then you will need to format the controller first, using the disks I have previously mentioned.
Please let me know if you have any questions.
Justin Parker
National Instruments
Product Support Engineer -
NI LabVIEW Real-Time for Desktop PCs compatibility!
Hello,
I'm pretending to acquire the NI LabVIEW Real-Time Deployment License for Desktop PCs. But before that, I need to be sure that this will work with other boards (not from NI).
Currently, I still don´t have all the project details. But there's a possibility of one board be from other supplier.
Can anyone tell me this, please. It's very urgent.
Best regards,
Paulo CarmoHi Paulo,
I guess that you will be disappointed but the response is clearly no.
When you boot a Desktop PC as RT target, it loads with the basic real-time operating system (including drivers for ethernet, for harddrive, memory....). When you want to add drivers on this embedded system, it will be only possible to add National Instruments drivers such as DAQmx, DAQ, VISA ... The possibility to add others drivers (from others providers) is not supported.
Hope it will help you,
Regards
David D. - Application Engineer - NI France -
Hello,
I am using Hypservisor. With "Build Specifications" in the project explore I want to create a standalone real-time application.
In my first try I only want to print some texts onto the real-time console (HyperTerminal) using the function "RT Debug String.vi". I built the real-time application successfully and got the rtexe-file locally on the windows system. But as I tried to deploy the application to the target system, I got the error: "File not found". Please check the attached file "error.txt" for details.
I don't understand which file is not found. Or I used "\" as path separators. Is it wrong? I'd appreciate if you'd have any idea of the problem. Thank you very much.
Regards,
Scarletice
Solved!
Go to Solution.
Attachments:
ERROR.txt 1 KB
builds.zip 153 KBHello Casey,
Thank you very much for your reply and your interest in our project. We are using Real-Time Hypervisor for the setup of our test stand. We use the Windows system to show the GUI and the Real-Time system for the real-time machine control and online data storage. We use shared variables and shared memory for the data exchange between the two systems.
The system works generally quite fine now. But we still have to face new problems at each step forwards. I'm sure, I'll have more questions. I'd appreciate your advices. Thanks sincerely.
Best regards,
Scarletice -
Hello
I have a VeriStand-Project (VSP) created with my Laptop-Host (LTH) which works with my PXI, while
deploying it from my LTH. Then I have installed the whole NI enviroment for PXI and VeriStand use on a
industrial PC (iPC). I have tried to deploy my VSP from the iPC to the PXI but the following error
message arose on my iPC:
The VeriStand Gateway encountered an error while deploying the System Definition file.
Details: Error -1074384569 occurred at Project Window.lvlibroject Window.vi >> Project
Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi
Possible reason(s):
NI-XNET: (Hex 0xBFF63147) The database information on the real-time system has been created with an
older NI-XNET version. This version is no longer supported. To correct this error, re-deploy your
database to the real-time system. ========================= NI VeriStand: NI VeriStand
Engine.lvlib:VeriStand Engine Wrapper (RT).vi >> NI VeriStand Engine.lvlib:VeriStand Engine.vi >> NI
VeriStand Engine.lvlib:VeriStand Engine State Machine.vi >> NI VeriStand Engine.lvlib:Initialize
Inline Custom Devices.vi >> Custom Devices Storage.lvlib:Initialize Device (HW Interface).vi
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * • Unloading System
Definition file... • Connection with target Controller has been lost.
The software versions of the NI products (MAX/My System/Software) between my LTH and the iPC are
almost the same. The only differences are:
1. LabView Run-Time 2009 SP1 (64-bit); is installed on LTH but missing on iPC. The iPC has a 32-bit system.
2. LabView Run-Time 2012 f3; is installed on LTH but missing on iPC.
3. NI-DAQmx ADE Support 9.3.5; something strage on the LTH, because normally I am using NI-DAQmx 9.5.5 and all other DAQmx products on my LTH are 9.5.5. That means NI-DAQmx Device Driver 9.5.5 and NI-DAQmx Configuration 9.5.5.. On the iPC side all three products are 9.5.5.. That means NI-DAQmx ADE Support 9.5.5, NI-DAQmx Device Driver 9.5.5 and NI-DAQmx Configuration 9.5.5..
4. Traditional NI-DAQ 7.4.4; The iPC has this SW installed. On the LTH this SW is missing.
In order to fix this problem I have formatted my PXI and I have installed the following SW from the iPC:
1. LabVIEW Real-Time 11.0.1
2. NI-488.2 RT 3.0.0
3. NI_CAN 2.7.3
Unfortunately the above stated problem still arose.
What can I do to fix this problem?
I found a hint on http://www.labviewforum.de/Thread-XNET-CAN-die-ersten-Gehversuche.
There it is written to deploy the dbc file againt.
If this is a good hint, so how do I deploy a dbc file?
I would feel very pleased if somebody could help me! :-)
Best regards
Lukas NowakHi Lukas,
I think the problem is caused by differenet drivers for the CAN communication.
NI provides two driver for CAN: NI-CAN and NI-XNET.
NI-CAN is the outdated driver which is not longer used by new hardware. NI replaced the NI-CAN driver with NI-XNET some years ago, which supports CAN, LIN and the FLEXRAY communication protocol.
You wrote:
In order to fix this problem I have formatted my PXI and I have installed the following SW from the iPC:
3. NI_CAN 2.7.3
NI CAN is the outdated driver. I think that you should try to install NI-XNET instead of NI-CAN on your PXI-System, to get rid of the error message.
Regards, stephan -
HOW CAN I ACQUIRE AND DEPLOY DATA IN REAL TIME WITH DAQ 6024E?
HI ENGINEER,
I'M PROGRAMING AN APLICATION WHICH I NEED ACUIRING AND DEPLOYING AN ANALOGOUS SIGNAL IN REAL TIME.
I HAVE:
LabVIEW 7.0
WINDOWS 2000
DAQ CARD 6024E
THE SIGNAL I WANT TO ACQUIRE IS 0-10 Vcd FROM A SENSOR, THE PROBLEM I HAVE, IS THAT I AM ACQUIERING THE DATA AND IT SEEM THAT THEY ARE UPDATING EACH SECOND, BUT I HAVE BEEN MOVING THE PARAMETERS SUCH AS TASK TIMING IN THE DAQ ASSISTANT VI AND NOTHING HAPPENS.
CAN YOU TELL ME WHICH PARAMETERS I HAVE TO MOVE TO AQUIRE AND DEPLOY DATA IN REAL TIMEHi barron,
If you want to see the data update quicker, you can decrease the value in the "Samples to Read" field of your DAQ Assistant. This number controls when data is transferred from the DAQ buffer to the PC. If the sampling frequency remains the same, but this field decreases, it means the buffered data will be returned more quickly.
Hope this helps.
Thanks,
Lesley Y. -
Trouble with deploying models in NI Veristand to real-time target
Hi All,
I desperately need some help with some application i’m working on. I’m trying to read some accelerometer measurements into NI Veristand but coming up with an error all the time during the deployment stage to the real target which i have atttached. I can’t quite figure out what to do about it. I’m using a real-time device with a PXI-4461 module. I have checked that i can read all sensor measurements in MAX as attached. The error message is as follows:
Initializing deployment...
Waiting for the target to report its state...
Initiating FTP connection...
System Definition File -> Acquisition.in4
Restarting system...
Restarting target into run mode...
The target encountered an error and reset. Verify that the system definition file and the target resources are valid. You must deploy a new system definition file or reboot the controller to correct this problem.
Error -200757 occurred at DAQmx Start Task.vi:1
Possible reason(s):
Measurements: Sample Timing Type is set to On Demand which is not supported for analog input on this device.
Set Sample Timing Type to Sample Clock. You can achieve this whlie setting related properties through DAQmx VIs or functions for configuring timing.
Task Name: Dev6_AIDuplicate Post.
-
Problem with DAQmx and Real Time PCI-7041/6040E.
Problem with DAQmx and Real Time PCI-7041/6040E.
I have a problem with the Real Time card PCI-7041/6040E, I think it is properly installed because my software run with the traditional NI-DAQ. When I try to use the new DAQmx to acquire one signal, Labview doesn't see any device for de DAQ card 6040E.
Information, I work on Windows XP and LabView v7.0.0 (NIDAQ RT v7.0.0, NI-Serial RT v2.5.2, NI-VISA v3.0.1 and NI-Watchdog v2.0.0).
Could Labview RT run with new DAQmx ?
What can I do to use DAQmx with PCI-7041/6040E?
Thanks for your help !Hello,
I refer to your posts because i am using the PCI 7041/6040E card as
well but without any success to make it work. The problem I have
already described in the following thread:
http://forums.ni.com/ni/board/message?board.id=170&message.id=120198
Would be nice if you had a look on it, maybe you can help me. BTW, the
thread starts with a problem of someone else, the difficulties I
encountered are to be found a little bit to the bottom of the thread's
page.
Thank you!
Dirk Völlger
Darmstadt
Message Edited by ratschnowski on 07-28-2005 07:14 AM -
I have problem with playback in real time
playback in real time is slowly, i have BlackMagic duo decklnik card
what is the problem should i have to change the settings on the project?
My english isn't good, hope you will understand me.
Thank You.>Is mov file 1920 x 1080
That doesn't really say much - what is the FORMAT of the media? Look at the Item Properties. Posting a screen shot of the Item Properties would help. Do the same with the Sequence Settings.
>how can i change FCP's RT settings to Dynamic.
Use the drop-down RT menu near the upper left-hand corner of the Timeline.
Also please answer the other questions:
Where is the media stored?
How is that hard drive connected to your Mac?
How much available free space on each hard drive (percentage)? Please list free space individually for each hard drive.
-DH -
Standby DB real time redo log apply problem
Hi all,
I am using Oracle 10g to create physical standby db. In the standby
db, normal archived log apply does not have problem, but when I try to
use redo log real time apply and issue command
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE;
it shows:
ERROR at line 1:
ORA-38500: USING CURRENT LOGFILE option not available without stand
What is the problem??
Thanks a lot !
StevenNote:3633226.8 from Metalink states:
Setting a standby's RealTimeApply property to ON when there are no standby
redo logs on the standby or the standby is not in SYNC transport, will
seemingly succeed. However, the apply engine will not start. The DRC log
will report an error like ORA-38500. In this case, add standby redo logs
and set the log transport mode for the standby to be SYNC and set the
standby state to ONLINE.
Workaround:
Add Standby Redo Logs on the standby and set the following broker properties
on the standby:
LogXptMode to SYNC and reset RealTimeApply to ON.
Then set the standby state to ONLINE.
HTH
Maybe you are looking for
-
THe mail app on my ipad 2 quits right after launching. This happened as I was forwarding an email with a long attachment. Now I get a blank screen with just the icons, no mail mailboxes etc. after a few seconds that blank screen disappears and we go
-
How do I break my codes into classes??
How do i break each tab into a class and call them inside a main program ?? Please show me how thanks. import javax.swing.JTabbedPane; import javax.swing.ImageIcon; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JFrame; impo
-
BPM_DATA_COLLECTION_1 creating DB_RTAB_ERROR at Table TSP0A
Hello Everyone, I receive this message (DB_RTAB_ERROR at Table TSP0A, Error 64 rspogdio 2) in our SM21 system logs many times due to the BPM_DATA_COLLECTION jobs. I have tried to update the print specifications of the this job in SM37to use our NULL
-
So far I absolutly HATE the new itunes. Everything has gotten more confusing and adding music to my iphone has become a daunting task instead of the easy transfer it use to be. BRING BACK THE OLD ITUNES PLEASE, or at least let me know how the heck to
-
Using JOIN Function with NULL Dynamic Parameters
I have a report with utilizes dynamic parameters but will not run if any of the parameters are null. I am also using the JOIN function to print out the values of these parameters. If the user doesn't enter in all the parameters, can the report still