From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-14-2010 11:48 AM
Hallo everyone,
in trying to reproduce the example found in the Simulation Interface Toolkit How-To I am facing an error with LabVIEW 2009.
I have succesfully created a host-VI working with the Simulink .mdl-file on localhost as Simulation Environment which runs well.
And I can succesfully compile the desired .dll-file (sinewave.dll) with Simulink and nidll.tlc.
But if I want to use a cRio-9024 as Real Time-Target with FPGA-Interface I get the following error when I start the Host-VI:
<<<
Missing Simulation Model File
The simulation file sinewave.out couldn't be found in the expected paths. Please FTP the file manually to your Real-Time system.
The following expected paths do not contain the simulation model:
C:\[...]\sinewave_nidll_vxworks_rtw\sinewave.out
C:\[...]\sinewave_nidll_rtw\sinewave.out
>>>
This is the resulting deployment status:
<<<
Initializing...
Calculating dependencies...
Checking items for conflicts. This operation could take a while...
Preparing items for download. This operation could take a while...
Deploying NI_FileType.lvlib
Deploying NI_SIT_util.lvlib
Deploying NI_LVConfig.lvlib
Deploying NI_SIT_Replay.lvlib
Deploying XDNodeRunTimeDep.lvlib
Deploying NI_SIT_Data Log.lvlib
Deploying NI_SIT_SITServer.lvlib
Deploying NI_SIT_driversupportVIs.lvlib
Deploying NI_SIT_ClientConnMngr.lvlib
Deploying NI_SIT_sitctls.lvlib
Deploying sinewave_Driver.lvproj
Deploying NI-Mess-Fix(successfully deployed target settings)
Deploying NI_SIT_Data Log.lvlib:Expand Signal Name.vi (7,85 K)
Deploying NI_SIT_Data Log.lvlib:Get Group Number.vi (4,46 K)
Deploying Set Bold Text.vi (11,92 K)
Deploying whitespace.ctl (2,09 K)
Deploying Set String Value.vi (5,06 K)
Deploying NI_SIT_Replay.lvlib:Wait for Ack.vi (5,50 K)
Deploying NI_SIT_driversupportVIs.lvlib:SIT Driver FP Strings.vi (2,31 K)
Deploying NI_SIT_driversupportVIs.lvlib:SIT Server Command.ctl (2,09 K)
Deploying NI_SIT_Data Log.lvlib:Enable Disable GPL Item.vi (13,12 K)
Deploying NI_SIT_Data Log.lvlib:Set Group Probe List Enabled Groups.vi (9,54 K)
Deploying NI_SIT_Data Log.lvlib:Set Group Probe List Logging Enabled State.vi (7,41 K)
Deploying NI_SIT_driversupportVIs.lvlib:SIT Timing Src.viNI_SIT_driversupportVIs.lvlib:SIT Timing Src.vi loaded with errors on the target and was closed.
LabVIEW: Failed to load shared library SIT_TimingInterface.*:SIT_InitTimingSrc:C on RT target device.
LabVIEW: Failed to load shared library SIT_TimingInterface.*:SIT_GenerateOneTick:C on RT target device.
LabVIEW: Failed to load shared library SIT_TimingInterface.*:SIT_ClearTimingSrc:C on RT target device.
Deploying NI-Mess-Fix Container
Deployment completed with errors
>>>
Why should I produce a file called sinewave.out? I don't think I really need it.
Can anyone please tell me how to employ the sinewave.dll properly so that it works on my cRio?
(I don't want to use hardware I/Os yet, just run the .dll on the cRio.)
The best help for would be a step-by-step description coming from a working VI which uses sinewave.mdl inside LabVIEW and having sinewave.dll ready for use.
Must I consider any other document to be able to finish this example?
Thanks for your effort!
Solved! Go to Solution.
12-15-2010 07:39 AM
12-15-2010 08:47 AM
Hallo Marco,
thanks for your advice. I will give your hint a try.
But I wonder why I need an .out-file? Is the cRio 9024 device a VxWorks-based target?
Thanks for your help!
Jan
12-15-2010 09:28 AM
Hi Jan,
yes it´s a VxWorks Target.
Marco
12-15-2010 10:19 AM
Great help, Marco - thank you again!
Finally I can run the simulation on the cRio.