07-11-2006 11:01 AM
07-12-2006 10:07 AM
07-13-2006 02:13 PM
07-14-2006 08:29 AM
Hello Carl,
thanks for your help again! Now its working!
07-14-2006 10:57 AM
07-14-2006 11:32 AM
Hello,
I also have a problem here about SIT
The problem I am facing now is how can I let the simulation running in LV with certain frequency automatically like doing signal sampling. Currently, I am only allowed to manipulate the running of simulation by 'Start' & 'Stop' button manually. (That is not good enough for my application) I want the updating from analog signals could be synchronized with the simulation in LV.
Hope anyone could help out there. Thanks!
07-17-2006 05:20 AM
Hello Andrew!
Yes, you understood my question correctly! I already managed to map that top-level inport of Simulink to an input from my hardware. So I had no problems with the configuration. But when I try to build the model files, I get the following error message:
"The generated driver VI is broken. Ensure you have all appropriate NI software installed (including LabView Real-time and any NI drivers you configured). Also ensure you have not modified any of the driver template
07-17-2006 04:36 PM
Hello Perez,
I believe the error you are seeing may be related to using the SIT Connection Manager with hardware that is NI-DAQ, NI-CAN, or NI-FPGA. The SIT Connection Manager dialog box supports only certain types and combinations of hardware mappings which are NI-DAQ, NI-CAN, or NI-FPGA. Although your USB-1208FS does function correctly in LabVIEW you may not be able to use the Connection Manager to create the driver. To create a driver for an I/O mappings for hardware combinations not natively supported by the SIT Connection Manager, National Instruments recommends first using the SIT Connection Manager to create the basic driver VI and then adding to this VI to complete the functionality.
You can accomplish this task in the following way:
1. Modify the four custom I/O VIs by adding additional I/O capabilities to these custom VIs. This method is useful in the following situations:
-You are not using any National Instruments FPGA, CAN, or DAQ devices for your hardware I/O (These type sof hardware I/O are natively supported by the SIT Connection Manager dialog box).
- You are using multiple National Instruments DAQ devices, but no other devices.
- You do not plan on modifying the driver VIs much once you initially create them.
In the posted link above, Creating a Custom I/O Driver with Simulation Interface Toolkit 3.x, check out the section labeled "Adding Capabilities to the Four Custom I/O VIs in Generated Hardware VI". This section will explain how to modify the driver VI to so you can create a driver for an I/O mappings for your USB-1208FS.
Looking to help,
Steven B.
07-17-2006 05:04 PM
Correction to the first sentence. This line should read:
I believe the error you are seeing may be related to using the SIT Connection Manager with hardware that is not NI-DAQ, NI-CAN, or NI-FPGA.
Thanks,
Steven B.
07-18-2006 06:12 AM
Hello Steven,
thanks for the information! I created the basic driver VI and then I added all the necessary functionality to my Host VI. That means I added all the SubVIs (included in the software package from Plug-IN) which are necessary for the communication between my measurement box and LabView. And now it is working! So I don’t have to create my own Custom I/O VI.