Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

simulationblocks with crio NI9022

Hi!

I have the following problem. I want to use the simulationblocks to create a controller, f.e. a PID Controller. 

I tried it, but when i loaded it to the cRio , i've got the error message, that this block is not for use with Labview RT.I'm sorry, that I can't remember the exactly error message, because i don't have the possibility to test it at the moment. 

Could it be, that the simulationloop is the problem?

Or can you help me, how it is possible to implement easy controllers with the simulationsblocks to use them with my cRio?

That would be very nice! 🙂

 

greetings

Eric

 

0 Kudos
Message 1 of 5
(3,815 Views)
I am not sure I understand what you are trying to do. Is it possible for you to post your VI?
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 5
(3,813 Views)

Hi Eric,

 

I did a Proof of concept once with running a Model in a Simulation Loop on a cRIO-RT-Target.

This setup should run without problems as far as I could see. So please tell me which hardware you 

plan to use and which Software versions you have. 

 

Marco Brauner NIG

0 Kudos
Message 3 of 5
(3,796 Views)

Hi!

I use the following crio-hardware:

 

- NI 9022, Controller, 256-MB-DRAM, 2 GB
- NI 9113, Chassis, 4 Steckplätze, Virtex-5 LX50
- NI 9205, A/D, 32 SE/16 DI, 16 bit, 250 kS/s, ±10, ±5, ±1, ±0.2 V
- NI 9411, D In, 6ch, DI or 5 V/TTL, ±5 to ±24 V
- NI 9263, D/A, 4ch, 16bit, 100 kS/ch, ±10 V
- NI 9401, D I/O, 8ch, 5 V/TTL, 5 V
 
My aim is to realize controllers with simulationblocks. Because I implemented a time-discrete PID-controller only with shift registers in a timeloop, but when i have a more complicated controller this will be a problem.

0 Kudos
Message 4 of 5
(3,777 Views)

Hi Eric,

 

as I said, the LabVIEW Control Design and Simulation Module for Windows 

does work on your Hardware. You got to have LabVIEW RT installed for sure, and if there is MathScript being used,

it will only run with LabVIEW MathScript RT Module activated.

Did you try to run an Simulation Module Example, "SimEx transfer function.vi" for instance?

Please check.

 

Marco Brauner NIG

0 Kudos
Message 5 of 5
(3,769 Views)