Discussion:
simulating inputs on PCI-6527
(too old to reply)
Justin M.
2006-07-27 15:40:11 UTC
Permalink
Hi kovalenkov,
 
Quick question: which callback function are you using?  Depending on the call, some interrupts can be generated by the driver, and others directly from the hardware.  I'm honestly not sure what happens with a simulated device and a hardware generated interrupt, I'll have to look into it.  Knowing the function you are using will give me a good place to start...
 
Thanks,
 
Justin M.
National Instruments
Justin M.
2006-07-28 00:10:07 UTC
Permalink
Hi kovalenkov,
 
I double checked on this, and I confirmed that simulated devices do not support events.  The change detection event will not fire for a simulated device even though the simulated data is changing.  You would need the actual hardware to generate the event. 
 
Thanks,
 
Justin M.
National Instruments
mohammed arif ahmed
2006-08-11 14:40:21 UTC
Permalink
HELLO ALL,
CAN SOMEBODY HELP ME FOR SIMULATION OF THIS INTERFACE(MULTI FUNCTION VEHHICLE
BUS,PC/104:PROFIBUS,CANOPEN INTERFACE,RS -232,RS-485) WITH CPCI BACK PLANE.
IT'S TYPE OF DATA RECODER APPLICATION IN RAILWAY'S, I WANT TO SIMULATE THIS INTERFACE WITH
REAL TIME APPLICATION IN LABVIEW, & I AM BEGINER TO LABVIEW. IF SOME EXAMPLE'S AVIALABLE PLZ SEND ME.
BEST REGARDS
ARIF.
email:-***@infotechsw.com
mohammed arif ahmed
2006-08-14 17:40:13 UTC
Permalink
Hello Adam,
 

Iam currently working on Labview and new to this Labview.
It's type of data recorder application in locomotives and i have to simulate signal to my hardware.
sub modules of this data recorder are:
Profibus
MVB bus (multi vehicle bus)
I/O modules
In i/o modules we will be needing the below mentioned signals:
3 Frequency inputs to data recorder
2 Analog inputs to data recorder
4 Digital inputs to data recorder
2 Analog outputs from data recorder
6 Digital frequency outputs from data recorder
12 Digital inputs to data recorder
4 Relays
We will be needing to generate and read all the above mentioned signals in Lab view using TCL(Tool Command Language) script language.
And also we will be needing to communicate to MVB bus card and Profibus card using Lab view and we need to implement these two protocols in Lab view using TCL script.
We will be grateful if you can help us in this regard.
Arif
mohammed arif ahmed
2006-08-17 13:10:11 UTC
Permalink
Hello Adam
My Application is read script file from TCL for different interface and update(display)or configure the data in front panel of GUI through that i have to select the port of different interface depending on input's range.
our interface are:
MVB BUS
PROFIBUS
CANOPEN CARD
ANALOG I/O CARDS (two analog input's and two analog output's)
DIGITAL I/O CARDS ( two digital input's and two digital output's)
RS 232
RS 485
I have found 1 vi from NI disscusion form,from which will read the TCL script and display in output string, iam attaching that vi with this mail, plz u go through and find it suitable for my application for read script file for different interface.
Regards
ARIF


LabVIEW_&_TCL_script.ZIP:
http://forums.ni.com/attachments/ni/70/5369/1/LabVIEW_&_TCL_script.ZIP
.avi file
2006-08-18 22:40:10 UTC
Permalink
Greetings Arif:
      The example VI you posted is your best
resource to develop the application. I would recommend you understand
the code and then modify the existing VI towards talking to your
devices. We do not support writing / developing TCL scripts. I will
answer your LabVIEW questions or if you have any NI Hardware / Software
questions.  Any one out there in the community who are experts in
TCL development and interfacing with NI hardware, that will be really
helpful. Arif, it appears you are less experienced in LabVIEW and hence
would recommend the training and if you are not willing to build
LabVIEW programs you should contact our alliance members. Hope this
helps.
Best regards
Avi Harjani

Loading...