How do i pass a daqmx task from labview to matlab using the math interface toolkit?

I want to use DAQMX functions from Matlab using the Math Interface Toolkit (MIT). How can I have a labview function output (return) the DAQMX task to matlab via the MIT?
I want to do this so I can start a DAQMX task in Labview from a matlab function and return control to matlab without losing the task.

Hi Mark,
(I already posted this answer in your other thread, but let's keep THIS thread alive - it makes more sense here in the LabVIEW forum than in Instrument Control forum.)
Since the DAQmx Task is not a native data type that can be passed directly to MATLAB from LAbVIEW, try flattening the DAQmx Task to a string before passing to MATLAB. However, I doubt that you can access the task from within MATLAB, but feel free to give it a try.
Good luck!
- Philip Courtois, Thinkbot Solutions

Similar Messages

  • How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP server

    In 9iAS 9.0.2 Oracle HTTP Server (OHS) is pre-configured to assign requests to the Home OC4J instance via the URL-prefix "/j2ee"/
    For example, the TEST servlet under OC4J would be passed through OHS using:
    http://urmachine:urApachePort/j2ee/TEST
    whereas in the standlone OC4J version, this URL works:
    http://urmachine:urOC4JPort/TEST
    How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP Server?

    It is getting the url prefix from mod_oc4j.conf
    under /ora9ias/Apache/Apache/conf
    You can read more on this at
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a92173/confmods.htm#1008977
    -Prasad

  • How can I select pages to print from a Word document using the report generation 'print report' vi?

    I have researched the knowledge base and found:
    Printing A Range of Pages or Number of Copies of a Report Using the Report Generation Toolkit in LabVIEW.
    This seems to be from a previous version of LV. I am using LV2010. The instructions given do not match up with the current vi. The information did provide a tip and drilling down into  the vi I was able to insert the from/to page numbers at the printout invoke method, however this prevents the print function from working in that it can no longer find the default printer.
    The error message is:
    Error 1015 occurred at NI_ReportGenerationToolkit.lvlib:Word_Print.vi -> NI_Word.lvclassrint Report.vi ->
    error 1015 is: Printer is not responding. Check printer configuration.
    Any ideas how I can make the modification to print, for example, pages 24 through 29 out of a 32 page word document?
    Thanks,
    Chris

    Hello, take a look at this article. Unfortunately the Generate Report Get Data to Modify.vi was remove since RGT 1.1.3 release. That being said, we can try to find a workaround. See "Configuring a Printer Through the Windows Dialog in LabVIEW", open the GetPrinterSettings.vi, at the PrinterSettings property node you can select the from/to page. I hope this helps.
    Alejandro | Academic Program Engineer | National Instruments

  • How do I share a numbers Document from Macbook to iPhone using the Cloud?

    How do I share a "Numbers" Document between a Macbook and an iPhone, using the Cloud?
    Will I be ablt to add data on the iPhone?

    iWork.com (beta) was made for sharing documents with other iWork users, not really for syncing documents between your own devices. Unfortunately, Apple has not updated the desktop versions of the iWork apps to use iCloud. Until they do you have to use iCloud.com in a web browser or iTunes to sync files.

  • How can I pass in continuous value from labview to teststand?

    Hello
    I want to run a vi using teststand. I want this vi to send values to teststand. My problem is that the value is only updated at the end of the vi execution and I want to get the value before the end of the vi execution. If somebody can help me ...
    Thanks
    Corentine 

    Corentine,
    you can think of TestStand calls to LabVIEW-VIs just like functioncalls in C/C++. The main continues running only if the subroutine is fully executed. Furthermore, LV returns values to the parameters (connector block) only at the end of the execution of the VI.
    So you cannot use "simple VI calls" in your sequence if you need datatransfer during execution from steps. If you like to do something like this, the easiest way would be to create a VI which runs continuously in the background and supplies data via mechanisms like Queues (if executed in the same instance) or TCP/IP. In the stepmodules you can retrieve the data when needed.
    hope this helps,
    Norbert B.
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How do I separate my daughters devices from my icloud but use the same apple itunes account?

    How can I separate my daughters icloud account but keep the same apple itunes account?

    To migrate her device to a new account, start by saving any photo stream photos she keep to keep to your camera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow), then tapping Save to Camera Roll.  If she is syncing any notes with iCloud that she wants to keep on her device, you'll need to open each of them and email them to her so she can later copy and paste the text into new notes created in her new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud; your devices won't be effected by this), choose Keep on My iDevice and provide the password when prompted.  Then sign back in with a different Apple ID to create her new account and choose Merge to upload her data.  (If she has multiple devices, she can go through this same process on the others, but choose Delete from My iDevice when prompted as the data has now already been migrated to the new account.)
    Once you are both on separate accounts you can each go to icloud.com and delete the other person's data from your account if you need to.
    You can continue to share the same iTunes ID.  The ID used for iCloud does not need to be the same as the ID used for iTunes.

  • How can I make a spectrogra​m from a soundwavef​orm using the intensity chart function?

    I want to make a spectrogram for a sound waveform where the x-axis is time, the y-axis is frequency, and the intensity is amplitude. I performed a DFT on the sound waveform, then used it as an input to the intensity chart function. Every time I run my program the x-axis has a scale from 0 to 1 sec, when my sound is longer. The y-axis doesn't give me the same range of frequencies as the DFT. The intensity scale is correct. Can anyone suggest another approach? The labview example did not help since I'm not generating an array and creating the intensity chart at the same time.

    Hello -
    You could probably use a 3D surface graph.
    I am including an attachment to show you what I mean. This example program is available here. I just made a few modifications to make it look as an intensity graph:
    1. By right clicking on the graph and going to CWGraph3D >> Properties and selecting the Grid Planes tab in the Graph tab, I unchecked the grids, to show just the graph. Then, I went to the 3D tab in the Graph tab, and selected Towards X-Y Plane in the View Direction section. Click OK.
    2. Then, I right clicked on the graph again and went to Advanced >> Enabled State and selected Disabled, so
    that the user cannot change the orientation any more.
    You can build your own plot using time and frequency as X & Y, and the amplitude will give you the color. You only need to adjust the orientation so that you can see it from �the top� and it looks like an intensity plot.
    Hope this helps.
    Attachments:
    XYZ_Plot_Example.zip ‏57 KB

  • How do I pass an error status from my java code back to the Program Job Ser

    How do I pass an error status from my java code back to the Program Job Server?
    I have a jar program object that reports a scheduled status of "Success" even if the java code errors out.

    Exceptions thrown from the program object are ignored by the program job server.
    You need to configure the Program Object, then stream out a special string sequence to the stdout of the Program Object, to set the scheduled instance status to Failed.
    Look up SAP KBase  1201804 - How to programmatically set the status of a Program object to "Failed"
    Sincerely,
    Ted Ueda

  • How to update my mac book pro from 10.5.8 to the leatest version

    how to update my mac book pro from 10.5.8 to the leatest version

    Upgrading to Snow Leopard, Lion, or Mountain Lion
    Upgrading to Snow Leopard
    You can purchase Snow Leopard by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The price is $19.99 plus tax. You will receive physical media - DVD - by mail.
    Third-party sources for Snow Leopard are:
    Snow Leopard from Amazon.com
    Snow Leopard from eBay
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store.
    Before upgrading check that you computer meets the minimum requirements:
    Snow Leopard General requirements
      1. Mac computer with an Intel processor
      2. 1GB of memory
      3. 5GB of available disk space
      4. DVD drive for installation
      5. Some features require a compatible Internet service provider; fees may
          apply.
      6. Some features require Apple’s MobileMe service; fees and terms apply.
    Upgrading to Lion
    First, you need to upgrade to Snow Leopard 10.6.8 as stated above.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
    Before upgrading check that you computer meets the minimum requirements:
    Lion System Requirements
      1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or
          Xeon processor
      2. 2GB of memory
      3. OS X v10.6.6 or later (v10.6.8 recommended)
      4. 7GB of available space
      5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    Be sure your computer meets the minimum requirements:
    Apple - OS X Mountain Lion - Read the technical specifications.
    Macs that can be upgraded to OS X Mountain Lion
      1. iMac (Mid 2007 or newer)
      2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
      3. MacBook Pro (Mid/Late 2007 or newer)
      4. MacBook Air (Late 2008 or newer)
      5. Mac mini (Early 2009 or newer)
      6. Mac Pro (Early 2008 or newer)
      7. Xserve (Early 2009)
    Are my applications compatible?
    See App Compatibility Table - RoaringApps - App compatibility and feature support for OS X & iOS.
    Am I eligible for the free upgrade?
    See Apple - Free OS X Mountain Lion upgrade Program.
    For a complete How-To introduction from Apple see Apple - Upgrade your Mac to OS X Mountain Lion.

  • How can I get audio to play from my TV when using hdmi cable?  Video looks great, just no sound.

    How can I get audio to play from my TV when using hdmi cable?  Video looks great, just no sound.
    I've tried plugging the hdmi into the TV directly and the receiver.
    I get video every time.  HBO to Go , Xfinity, ABC, Youtube, etc...
    just no audio.  Any suggestions? 
    I've tried starting the apps then plugging in the hdmi cable.
    I never tried this before I upgraded to IOS 5.

    Claudiamil-
    I had not tried it with mine since upgrading to iOS 5, so I just did.  I'm using a small Vizio HDTV.  I did not try YouTube, but did try several videos and musical numbers.  In all cases there was sound, including stereo when the source had it.
    I assume you are getting sound from the iPad when the adapter is not connected, so the volume is not turned down.  Dah*veed's suggestion to reset may be what you need.
    Fred

  • How do I sync my iPod to iTunes? I've used the final steps from Article HT1329, but when I open my iPod there is no "iTunes" folder.  Please help!

    How do I sync my iPod to iTunes?  I've used the final steps from Article HT1329, but when I open my iPod there is no "iTunes" folder.  Please help!

    Ah I see. That folder would only be there if you had perfomed the earlier steps in that section.
    Recover media from iPod
    See this post from forum regular Zevoneer for options on moving your iPod data back to your computer.
    tt2

  • I have forgotten my password for icloud, have an invalid email address and do not know my security answers. How can I transfer all my data from my old iphone to the new one?

    I have forgotten my password for icloud, have an invalid email address and do not know my security answers. How can I transfer all my data from my old iphone to the new one?

    In this case you won't be able to do that?

  • How do I transfer itunes music to my iphone 4 without using the restore from this backup function?

    How do I transfer itunes music to my iphone 4 without using the restore from this backup function?  I cannot use the back up function as have been advised that therer are bugs in it and restoring it back to my phone will bring the bugs with it and phone will be back to apple again as will start playing up again.  But I need the music.  Whn I plug it in laptop and go to itunes icon it gives me 2 options:  Set up as new iphone? OR Restore from backup.
    Do I pick set up as new phone?  I dont know as the guy at the genius bar told me there would be an option asking if i want to sync itunes only...but there isn't.

    Set up as New and then... Re-Sync your Content from iTunes.
    SYNCING with iTunes
    See here  >  http://support.apple.com/kb/HT1386
    From Here  >  http://www.apple.com/support/iphone/syncing/

  • How do I copy my video files from iPhoto to iMovie. The two   hour wait to view all in iMovie puts the kibosh on my edit time.

    How do I copy my video files from iPhoto to iMovie? The two + hour wait for thumb nails and hour long wait looking for the right videos kills the time I have to edit.

    You need to convert the VOB files in the TS-Folder of the DVD back to DV which iMovie is designed to handle. For that you need mpegStreamclip:
    http://www.squared5.com/svideo/mpeg-streamclip-mac.html
    which is free, but you must also have the  Apple mpeg2 plugin :
    http://www.apple.com/quicktime/mpeg2/
    (unless you are running Lion in which case see below))
    which is a mere $20.
    Another possibility is to use DVDxDV:
    http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.overview.htm
    which costs $25.
    For the benefit of others who may read this thread:
    Obviously the foregoing only applies to DVDs you have made yourself, or other home-made DVDs that have been given to you. It will NOT work on copy-protected commercial DVDs, which in any case would be illegal.
    If you are running Lion:
    From the MPEG Streamclip homepage
    The installer of the MPEG-2 Playback Component may refuse to install the component in Lion. Apple states the component is unnecessary in Lion, however MPEG Streamclip still needs it.
    To install the component in Lion, please download MPEG Streamclip 1.9.3b7 beta above; inside the disk image you will find the Utility MPEG2 Component Lion: use it to install the MPEG-2 Playback Component in Lion. The original installer's disk image (QuickTimeMPEG2.dmg) is required.
    The current versions of MPEG Streamclip cannot take advantage of the built-in MPEG-2 functionality of Lion. For MPEG-2 files you still need to install the QuickTime MPEG-2 Playback Component, which is not preinstalled in Lion. You don't have to install QuickTime 7.

  • Hi...i bought the new iphone 4 and would like to ask how can i transfer all my data from my old iphone to the new one?  If I will do "synchronization" through itunes with the old phone and the plug in the new one will that be the case?

    Hi...i bought the new iphone 4 and would like to ask how can i transfer all my data from my old iphone to the new one?  If I will do "synchronization" through itunes with the old phone and the plug in the new one will that be the case?

    Follow the instructions in this article to transfer your info: iPhone: Transferring information from your current iPhone to a new iPhone

Maybe you are looking for