LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using dual pentium, second pentium as a RT target.

Hi,
 
I don't know how clever you all are, but could it be possible to use the second cpu in a dual core as a real-time target.
If so, you could win the jackpot. (?)
 
Wouter
Have program a realtime simulator for powerplants written in C++.I translates the RT sim to NI components and software (Labview).


My rt pxi turbine simulator for simulating grid incidents was succesfully used in a nuclear plant in 2006.

Look at http://sine.ni.com/cs/app/doc/p/id/cs-755
0 Kudos
Message 1 of 6
(3,471 Views)

First, you may wish to post this to the real-time board, where you're more likely to get a good answer.

Second, while I don't really know anything about this, I don't think that a dual core processor can be "split", having each CPU controlled individually by 2 different OSes (you will need an RTOS). Plus, I'm not sure RTOSs work on all standard CPUs, but that's just a guess.


___________________
Try to take over the world!
0 Kudos
Message 2 of 6
(3,450 Views)
I also don't think that it's possible. both cores on the cpu have to be managed by one OS. running a RT target you would have to seclude one core from the other so that no task or process would strike the core. can't believe that this could be done...
0 Kudos
Message 3 of 6
(3,449 Views)
Hi,
 
I can confirm that this is not possible. You cannot have two different OS for each core.
 
Regards.
 
Joris V
NI BE
0 Kudos
Message 4 of 6
(3,424 Views)
Is this something which may change with this fancy new "virtualization" which Intel and AMD are promising us soon?

Virtual provessor running virtual instruments.  Virtually.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 5 of 6
(3,417 Views)
Hi,
 
What I ment was using two programs side by side.
I tried with Matlab/simulink, when running it took 100% of both cpu's,
Now by giving Matlab only one cpu as prefered cpu, doing so leaves one free cpu to Labview to do its job.
Maybe we could do the same with two Labview programs, one given one entire cpu (the time critical part) the second cpu just do its interface to the user and Windows OS.
So only one cpu will talk to the NI hardware, the other to the rest of the OS.
 
I will try if I find some time at work.
 
ps: to synchronize a Simulink simulation with the real-time I found some good .m file based on Windows Multimedia library.
 
 
 
 
 
 
Have program a realtime simulator for powerplants written in C++.I translates the RT sim to NI components and software (Labview).


My rt pxi turbine simulator for simulating grid incidents was succesfully used in a nuclear plant in 2006.

Look at http://sine.ni.com/cs/app/doc/p/id/cs-755
0 Kudos
Message 6 of 6
(3,406 Views)