LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reproduction of Simulation Interface Toolkit example

Solved!
Go to solution

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!

0 Kudos
Message 1 of 5
(2,769 Views)

Hi, please look at this tutorial:

 

http://zone.ni.com/devzone/cda/tut/p/id/11654

 

 

Marco Brauner NIG

0 Kudos
Message 2 of 5
(2,744 Views)

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

0 Kudos
Message 3 of 5
(2,729 Views)
Solution
Accepted by topic author le_jean

Hi Jan,

 

yes it´s a VxWorks Target.

 

 

Marco

0 Kudos
Message 4 of 5
(2,724 Views)

Great help, Marco - thank you again!

 

Finally I can run the simulation on the cRio.

0 Kudos
Message 5 of 5
(2,719 Views)