It seems like outputs don't respond to inputs / cRIO-9024, custom device, NI VeriStand, ControlDesk of dSPACE

Hello
I am now working on running a labview controller on VxWorks RTOS, and then this labview controller is integrated with a vehicle plant model in ControlDesk of dSPACE through CAN (cRIO-9113). 
I have two models as below:
1. vehicle cruise controller written in labview using the Control and Simulation loop of labview
2. custom device project
   : LabVIEW model is not supported for VxWorks RTOS, so it is necessary to interface between labview model and compactRIO. 
   This custom device project is set to Asynchronous execution mode and labview model was integrated into <custom device name> RT Driver VI.vi. 
Anyway, I successfully built a custom device project and deployed to the target, and seems like there is no problem to integrate with a plant model in ControlDesk of dSPACE. (I can see the green light blinking on CRIO-9113, CAN module)
The problem is that signals from input are not delivered to ouput. 
As seen below, I just put a laview model into <custom device name> RT Driver VI.
In order to synchronize time between Timed loop and Control and Simulation loop, Device Clock is connected to two loops.
Besides, local variables are used to share inputs and outputs. 
Inputs were not delivered to outputs even when labview controller was an empty loop as below.
When I manipulated signals at ControlDesk of dSPACE, I saw values in input channels of workspace of veristand changing as I expected, but output didn't change. 
How can I solve this? shoudl I add some functions into labview code? 
Besides, when Device Clock is connected to the Control and Simulation loop, should I place a checkmark to 'Synchronize loop to Timing source?
Thank you 

Hi Joe,
You are correct I would definitely begin by looking at the custom device template and the current custom devices (you can download them and open the source code to see a good starting point for how to start)
However it may be easier to just make a model that has a configurable trigger lines that controls the DAQ device and then use the Stimulus Profile to log the data whenever you want.
If you decide to go the custom device way here are some good starting points:
http://www.ni.com/white-paper/9348/en
http://www.ni.com/white-paper/13604/en
http://www.ni.com/white-paper/9349/en
https://decibel.ni.com/content/docs/DOC-9891
Sam S
Applications Engineer
National Instruments

Similar Messages

  • Built-in audio inputs and output don't respond to anything.

    Hi there,
    Maybe somebody can help me, I have a macbook pro os x 10.8, and i'm having a bit of problem.
    I connected a cable to the line input, and before i had a chance to balance the high volume the whole software in the system preference froze, and now the built-in audio inputs and output don't respond to anything, also in the audio MIDI setup menu. The volume button moves extremely slow, and there is no sound at all. Anybody has any idea?
    Thanks in advance

    Apple store genius bar seems like you best bet.
    Ciao.

  • IT SEEMS LIKE MY IPOD 4GEN SCREEN IS FROZEN I RESTORED AND RE STARTED IT BUT EVERY TIME I TOUCH THE SCREEN TO UNLOCK IT OR SOMETHING IT WONT RESPOND SOMEONE HELP!!

    IT SEEMS LIKE MY IPOD 4GEN SCREEN IS FROZEN I RESTORED AND RE STARTED IT BUT EVERY TIME I TOUCH THE SCREEN TO UNLOCK IT OR SOMETHING IT WONT RESPOND SOMEONE HELP!! IT JUST STARTED DOING THIS A COUPLE OF DAYS AGO AND I DONT KNOW WHY ILL TRY TO SLIDE THE SLIDE BUTTON TO UNLOCK MY IPOD BUT IT WONT EVEN LET ME DO THAT ITS LIKE EVERY TIME I TOUCH THE SCREEN TO DO SOMETHING IT DOSENT RESPOND SOMEONE HELP PLEASE

    Please don't shout.
    Has the iPod ever been jailbroke?

  • I created a form, I want the email notices to go to several people. Why is this so difficult? It seems like they have to be a co-author/reader or something? I don't get it

    I created a form, I want the email notices to go to several people. Why is this so difficult? It seems like they have to be a co-author/reader or something? I don't get it

    This is crazy! I paid for this service to make it easier to create forms for a company that has had several acquisitions all over the globe. This was supposed to make it easy to create forms hosted on adobe so no matter what happens on all their servers, we would be safe using this forms service until we can integrate all acquisitions and build a permanent web site on a single server. Now I find out that even this is a major issue sending emails to team members, many I have never met so making them a collaborator or even setting up forwarded emails is not something I wanted to do. This service was advertised as simple and easily send notifications to many people. I am now frustrated and thinking this was a waste of money! Why is it like that?

  • How can someone use a stolen iphone? does erasing the phone (which I feel like I should do) make it easier for the thief to use the iphone?  If I don't erase it, it doesn't seem like anyone should be able to use the phone because of my password.

    how can someone use a stolen iphone? does erasing the phone (which I feel like I should do) make it easier for the thief to use the iphone?  If I don't erase it, it doesn't seem like anyone should be able to use the phone because of my password. Also, is it possible to retrieve anything that has been sent to the phone (i.e. text messages) since it was stolen through icloud? The "find my iphone" app says the device is offline but it rings when I call my number -- any idea how that would be the case? Thanks!!

    You have a password, so good move on your part.  Whether you erase it or the thief does, they still get to use the iPhone as theirs.  Which is more important (pick one), protecting your data or punishing the thief?
    Ringing occurs at the carrier.  Chances are you're going to voicemail after only two or three rings.  If you have an iCloud backup also a good move.  Re-read my question in the first paragraph.

  • Apple, what have you done? 8.01 makes my ipad seems like it is back on dial up. Don't fix what ain't broken, or is your policy break it so we have to fix it?

    Apple, what have you done? 8.01 makes my ipad seems like it is back on dial up. Don't fix what ain't broken, or is your policy break it so we have to fix it?

    Hi The best option is to do a factory Reset this will get rid of any bugs And set up iPad as new. Just use same Apple ID you will get all your Apps & Data back. Do this over Wifi Cheers Brian

  • Hi, I want to have my phone "on ring" so my alarm will go off (have one set every night) but I DON'T want it to ring (just vibrate). It seems like there is no "none" option of Ringer. Anything I can do?

    Hi, I want to have my phone "on ring" so my alarm will go off (have one set every night) but I DON'T want it to ring (just vibrate). It seems like there is no "none" option of Ringer. Anything I can do? So basically it seems my options are 1. silence the entire phone therefore also silencing my alarms OR 2. Leaving the ringer on low, putting all other notifications to vibrate, yet the ringer is STILL on. That's annoying!

    The alarm will ring even if the switch is on Silent.

  • Hi. I tried switching my Apple ID email address to my new email address and I don't know how to switch it for iCloud and iTunes. Please help!! It seems like Apple thinks I have two separate accounts, when I just tried to simply change it!

    Hi. I tried switching my Apple ID email address to my new email address and I don't know how to switch it for iCloud and iTunes. Please help!! It seems like Apple thinks I have two separate accounts, when I just tried to simply change it!

    Settings > Store > Sign Out.
    Sign in with the correct ID.

  • Apple Apps like App Store, Mail, Photobooth... don't respond in Mavericks.

    Hi i have a Macbook Pro 13 early 2011 and I just updated to Mavericks with one problem:
    The OSX apps like the App Store, Mail, Photobooth, iPhoto and basically all the Apple apps don't respond to mouse clicks. They open normally and the scrolling works too, only clicking does'nt work!
    I tried repairing permissions and safe boot but everything was the same...
    Any idea??

    I have the same problem, the only solutions I have are:
    - OS X Recovery
    http://support.apple.com/kb/HT4718
    - Reinstall Mavericks using USB or SD
    I'm still not shure what to do...

  • I have  mac book pro. Since i updated to OS 10.8, I have experienced the following: many of the programs don't respond. Not able to transfer file (eg pdf file og movie (VLC)). Many of the processes seem to be less effective or won't respond.

    I have a mac book pro. Since i updated to OS 10.8, I have experienced the following:
    many of the programs don't respond.
    Not able to transfer file (eg pdf file og movie (VLC).
    The tech tool diagnostic software (as part of apple care protection plan) stops in the middle of scanning.

    First, know that if you have any old PPC-only applications they will no longer work. You should uninstall them completely. Secondly, applications that don't work may require upgrades for compatibility with Mountain Lion. Thirdly, you may have a dysfunctional upgrade for which you should try this:
    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • Quicktime Export Error: "An output module stopped responding."

    I'm experiencing an odd export error whenever I use any Quicktime codecs:
    "After Effects error: An output module stopped responding. The file may be damaged or corrupted. You may need to restart After Effects."
    Similarly, Adobe Media Encoder hangs when outputting to Quicktime codecs. Neither program makes any progress at all before the hang occurs. At that point, I have to manually "end task" to exit. Also, it doesn't seem to matter what I try to export. In AME, for example, I can simply try to convert one video format to another and have it hang, so I don't think the problem is due to a problem with the source settings or effects. Also, I'm not attempting any multiprocessing since I don't really have enough RAM for that. Other output modules work, so I'm just exporting image sequences for the time being.
    System specs:
    Windows 7 64-bit
    Intel i7-2600k processor
    8 GB RAM
    GTX 580 GPU
    Software:
    Adobe CS6
    AE Plugins include Tracode Suite 12 and Optical Flares
    Quicktime 7.7.3
    Any thoughts on this? I've seen very few references to this error in other places, and not really found a solution that seems to apply to my situation. Thanks in advance for your help.
    Josh

    Thanks for setting me in the right direction. Clicking through to the 25 :: 101 error page (http://myleniumerrors.com/2013/01/06/25-101-4/) led me to a reference about other software, such as remote access software, using the same ports that AE needs for communication with its various processes. In my case, LogMeIn was the culprit. I had no idea that AE even used TCP for these types of operations, so that's very helpful to know.
    *EDIT*
    That worked temporarily, and now it doesn't work. I ran into a similar effect when I first disabled the Windows Firewall. But of course, as I type this and piddle around, it works again. It SEEMS like if I open AME and click into the output settings and scrub through the video preview, it makes everything work when I go to actually export. That's exactly the type of thing I would say is completely unrelated under normal circumstances, but at the moment all I know is that it is currently working and I don't want to test anything else until I finish the rendering I need to accomplish today. I'll work on it more later and post an update at that time.
    Thanks,
    Josh

  • Function Keys and Power Commands Don't Respond

    I've encountered an odd intermittent problem with my iBook G3 900. On certain boots the following issues crop up:
    - Function keys are non-responsive. Expose, Volume, Brightness, and Eject all stop working.
    - Power button doesn't respond. Also, software power commands don't respond. The only way to shut down the system is to do a force shutdown by holding down the power button for four seconds (or other unpleasant things like unplugging the power and the battery, which I refuse to do except under the most dire circumstances).
    - "About This Mac" refuses to load. Sometimes I see the window appear, but it parks itself at the top left of the screen where I can't get to the window bar, and Expose obviously doesn't help.
    Now as I said, this problem is intermittent. It only seems to occur on certain boots, but it's incomprehensibly annoying when it does appear. The iBook is a secondary system, so I have barely anything on it and I don't do anything crazy with as far as software goes. All I know is that the problem appeared after I rebooted after installing SideTrack, but try as I can I can't seem to link my problem with aforementioned app. If the problem does assert itself, I force a shutdown, and it goes away on the next boot.
    Any thoughts?
    iBook G3 900 Dual USB   Mac OS X (10.4.7)  

    Hi, and welcome to Apple Discussions.
    One of the first troubleshooting procedures to try when you are seeing operational anomalies is to reset the PMU.
    What is the hard drive capacity and how much space remains available on it? Sometimes strange things start to happen when you get down to less than 5 GB of free hard drive space.

  • Burning CD issues *it seems like everyone else too* Error Number 4280

    Has anyone figured out what to do with this burning CD's issue that it seems like everyone is having? Now I'm gettng "Error 4280" and I've NEVER had any problems before! It all of a sudden just started, and I JUST want to burn a couple of CD's! I'm not sure what version of iTunes I'm on, but I think the newest one, and now I'm having nothing but trouble. I'm worried about losing my library too and don't know about un-installing and re-installing either. Are they working on this? Does anyone know? I don't know if I even want to purchase any new music at this point ...
    Thanks for any advice!

    Nope, didn't work, it was already on "Audio CD", even tried buying some new CD's specifically made for music. iTunes knows that have a huge problem with this and they don't care. How dare they just ignore the fact that they screwed up with the new upgrade and not respond at all to this situation. There is honestly nothing else I can think of to do to be able to burn CD's *not to mention that I waste a CD everytime I try, because someone said not to use cd-rw*. I ran all the diagnostics and it said everything as fine. IT'S ITUNES ITSELF.
    Thanks for trying to help, I appreciate any suggestions.
    Once again, if anyone can think of anything at all that might be causing this problem, please let me know ...
    Alyssa

  • How to print a selection of pages from a 3000   page PDF without having to scroll two wheels! Also is there a way to set printer options for just black and white? Seems like there is a lot missing here?

    I have been using this for school work as much as possible and have come across a problem. With my lack of knowledge for apple it seems as though I can't navigate myself to a easy answer. The problem hits when I am printing pages off of a large document, and I don't want to print the entire document in color but I have no way "that I can find" for a black and white print option...
    ----- also a larger issue, when printing I need to select 1 page or even 20 pages... The time it takes to use a scroll wheel and the fact if you try and scroll fast sometimes you click off the screen then you have to start scrolling all over again... It seems like you would beagle to input from say page 1224 to 1236.... Instead I have a scroll a wheel? Just doesn't make sense...?
       Can someone please help solve this for me!

    Yes, that fixed it, thanks! I had no idea they clashed like that. I ruthlessly purged all other tables of contents, and then used Layout > Table of Contents to create a new one, and it worked.
    It made more sense after seeing in this thread that table of contents styles are more like presets or entities than styles.

  • Why is my Macbook Pro suddenly and constantly shutting down/crashing on me and giving me a blacked out or blued out screen with lines?  Seems like a total system failure is happening?

    Macbook Pro- shortly after upgrading to free software upgrade to Mavericks- 10.9.5-
    has suddenly been freezing up, but went more directly to 'shutting down,'  CRASHING on its own.  Most of the time, if I'm even able to successfully get the laptop turned back on, it only stays up/on for a few moments before repeating the failure.   The failure is often accompanied with the monitor going 'blank,' or most typically either 'blacking out,' or going blue/green or grey screen with lines or grids all over the monitor.  All Desktop visibility, functions or applications in process disappears.  This has caused repetetive 'forced shut downs,' which I never usually do, unless prompted to because I have no choice like this.... Or as I said, the computer itself will just shut down and turn off by itself.... Can anyone tell me what this issue is, and I'm pretty sure other Mac users have seen this exact thing I'm describing happening on their laptops, with their systems or on their monitors.  Someone please explain or point me in the right direction... as naturally my laptop just went out of warranty as well.... And I don't know if this means the entire system is basically corrupted, dying/dead... and or if it is a monitor issue, a hardware issue, software issue or if there is anything that can be done to restore, repair it, etc.?   Also another thing I have noticed ever since getting this laptop- (few years old now...) is that it runs VERY HOT... has in fact burned my lap /skin many times... and seems like the fan or internal operating systems/functions are also perhaps not functioning properly.  Can this also be causing the problem?  Or is it a corruption or virus of some kind? etc.   Thank you.

    What you describe sounds like a hardware issue. Unfortunately, you'll need to get that checked out by Apple. If you have an Apple Store near you, make an appointment with the Genius Bar and take the machine in for evaluation.

Maybe you are looking for