Monitoring two instruments in one vi

I have two instruments that I want to controll (with LabVIEW) and monitor their output. What is the best programmatic way to do this? Use two parallel while loops?

Hi,
If you are using Visa have a look at locking.vi in the Hardware Input and Output | Visa folder of the examples supplied with labview.
I have used this to avoid tying to address two instruments at the same time when you only have one gpib card.
Regards
Ray Farmer
Regards
Ray Farmer

Similar Messages

  • Monitor two systems in one solution - BPMoni

    Hi,
    I have configured business process monitoring for our production system but now need to add our test system into the solution and monitor the test system as well to do some testing.
    When I go to Solution Landscape Maintenance both clients from two different systems are included in the solution but when I go to "Setup Business Process Monitoring" only the production one is listed under Logical Components tab.
    Sorry I am very new at this but how can I get the business monitoring to work for both systems?
    Thank you,
    Sergiy

    Hi Sergiy
    Yes you have to use 2 logical component to monitor 2 different system.
    Logical component consit of system+client.
    So for example, you want to monitor cleint 100&200, then you need to
    define 2 different logical component for client 100 and 200.
    Same things also apply. If you want to monitor same business process
    in different system.
    So create logical component 1 for your production system.
    And create logical component 2 for your test system.
    Then create 2 business process (exactly same).
    Business Process: order to cash.
    1.Business process step : create sales order (T-CD VA01) <Logical component1>
    2.Business Process step : create delivery (T-CD VL01)<Logical component1>
    Business Process: order to cash (test).
    1.Business process step : create sales order (T-CD VA01) <Logical component2>
    2.Business Process step : create delivery (T-CD VL01)<Logical component2>
    Then you can monitor business process order to cash in 1 solution.
    But I think it is better to create 2 different solutions since operator
    might not want to see business process for test system in BPMon.
    Best Regards
    Keiji

  • Three monitors - two for Premiere, one as Reference, from Geforce GFX 570 - possible?

    My new system for Prodcution Studio CS5.5 has a Geforce GTX570 graphics card to which I've attached my two monitors (via DVItoVGA convertors)
    I've read posts on this forum where people have mentioned adding in an extra graphcis card to drive a separate reference monitor
    My question is, given the Geforce GTX570 has a mini-HDMI port and a Displayport as well as the two DVIs that I'm using, do I need a separate extra graphics card to run a a separate reference monitor in additon to the two 'program' monitors I already have?  I want to run a HD1080 screen from the mini-HDMI port as a reference monitor... but I've been reading around and I can't work out if this is possible, or whether I will need the separate graphics card to do this
    A related issue - if I can't run the third monitor from the GTX570, can I use the on-motherboard monitor outputs instead of getting an additonal graphics card?  The motherboard in this syetm is an Asus P8 Z68-V Pro with a Core i7 2600K chip in, and has (unused) a DVI and a mini-HDMI port - might these do for the Reference monitor?
    Finally, I also want to be able to use the reference monitor in After Effects - presumably this will not be an issue - there's no separate setup / workaround / other complication in doing this
    Your comments appreciated - I'm sure there must be other people out there who've encountered these questions -  I'm just trying to get as fully in-the-picture as I can before spending cash
    Thanks
    jON

    You'll need a second GPU, preferably the same or very similar to your primary one. The on-board GPU may work--it more than likely will if its an Nvidia GPU and you can use the same drivers, but I suspect it's probably Intel or something like that. There can be issues if you have two different GPUs from two different manufacturers installed simultaneously. Not saying for sure that it wouldn't work, but it's inviting headaches.
    After Effects doesn't use monitors the same way Pr does--specifically, it doesn't do a full-screen output to a second monitor that's attached via HDMI, DVI, etc. However, you could set up a workspace that maximized the Composition window on a second monitor, but it's not exactly the same effect.

  • I cracked my screen. I want to use other monitor which I had one. I bought Apple Mini-DP to VGA adapter. It worked. It means I can see ADDITIONAL screen. However I want to use this monitor for the main screen. How can I do?? Please help.

    I cracked my screen. I want to use other monitor which I had one. I bought an Apple Mini-DP to VGA adapter. It worked. It means I can see ADDITIONAL screen. However I want to use this monitor for the main screen. How can I do?? Please help.

    You have the display set in Extended Desktop mode. The Menu Bar and Dock will be on the MacBook display and your background screen on the monitor. In System Preferences>Display on the MacBook screen there should be an Arrangement tab when you have the MacBook hooked up to the monitor and both screens working. When you click the Arrangement tab do you see two monitors side by side? One of them will have a Menu Bar at the top. Just click on the Menu Bar and drag it to the second monitor. That will make the second monitor your main screen. You can now use your MacBook in Clamshell Mode with a wired or Bluetooth keyboard and mouse.  http://support.apple.com/kb/HT3131 When you disconnect from the monitor your Menu Bar will automatically change back to the MacBook.

  • The problem is to monitor two experimental parameters

    The problem is to monitor two experimental parameters (pressure and temperature) using USB -6008. These parameters are converted to voltage by proper sensors.
    I use the following sequence of commans:
    DAQmxBaseCreateTask("T",&taskHandle);
    DAQmxBaseCreateAIVoltageChan(taskHandle,"Dev1/ai0","",DAQmx_Val_Diff,-10,10,DAQmx_Val_Volts,NULL);
    DAQmxBaseCreateAIVoltageChan(taskHandle,"Dev1/ai1","",DAQmx_Val_Diff,-1,1,DAQmx_Val_Volts,NULL);
    DAQmxBaseStartTask(taskHandle);
    Then I read the results every 200 msec. To do this I put into the Timer event handler next code:
    { DAQmxBaseReadAnalogF64(taskHandle,1,timeout,0,data,2,&pointsRead,NULL);
    data[0] I convert to pressure;
    data[1] I convert to temperature;
    The program works, but I am not satisfied because of noise. The origin of the noise is electric interference of power network. I know that the best way to reduce electrical interference is to integrate a signal over period of the power network (20 msec in Russia). All high sensitivity digital voltmeters do this integration. The idea is to make, for example, 40 measurements with SampleRate=2000 , ( 0.5 msec * 40 = 20 msec) instead of single measurement. Then calculate the sum of pressure readouts and the sum of temperature readouts. This procedure should be repeated every 200 msec using the Timer event handler.
    Therefore I added before DAQmxBaseStartTask(taskHandle);
    DAQmxBaseCfgSampClkTiming (taskHandle, source, sampleRate, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, 40);
    and modified Timer event handler:
    { DAQmxBaseReadAnalogF64(taskHandle,40,timeout,0,data,80,&pointsRead,NULL);
    data[0] … data[39] I convert to pressure;
    data[40] … data[79] I convert to temperature;
    Testing of the program showed: the program can make only one cycle of measurement. All times I call the DAQmxBaseReadAnalogF64 the results were the same. It looks like USB-6008 make one cycle of measurement (probably at DAQmxBaseStartTask) and puts the results to the buffer. And the DAQmxBaseReadAnalogF64 just read the buffer but can not initiate new measurements.
    How the program can initiate new cycle of measurements? Could anybody to help me?

    Dear Micaela,
    Thank you for advice. I will change driver  to the DAQmx . But it will take time to download 460 M.
    Therefore I continued with the old driver.           
    I changed DAQmxBaseCfgSampClkTiming to DAQmx_Val_ContSamps and immediately faced with  another problem.   The device began to acquire data continuously, and when I call DAQmxBaseReadAnalogF64 in the timer handler, I got the date that does not correspond to the current time. The data corresponds to the experimental parameters which were 5 minutes ago. I was very surprised until I realized that this huge delay exits!
    To fix this problem I tried to add DAQmxBaseStartTask and DAQmxBaseStopTask  to the timer handler.
         DAQmxBaseStartTask(taskHandle);
         DAQmxBaseReadAnalogF64(taskHandle,40,timeout,0,data,80,&pointsRead,NULL);
         DAQmxBaseStopTask(taskHandle);
        data[0] … data[39] I convert to pressure;
         data[40] … data[79] I convert to temperature;
    The program did not work. Even did not respond to any action.

  • Combine two channels on one graph

    I need to add a second channel, coming from same instrument, to the existing acq&graph Voltage VI (see attachment). I want to get two voltage curves on the same amplitude vs time graph. I configured the second channel and created a task, which also works on a that single channelled VI. Thanks a lot in advance
    Vitaliy
    Attachments:
    Acq&Graph Voltage-Int Clk.vi ‏57 KB

    I have two tasks for each channel. So Im trying to feed those two tasks through one loop and onto a graph. I do have a task named "ai cont multi" in NI-DAQmx Base Config Unility where I can choose two channels, but when I input this task into my VI, it doesn't recognize the resource which is weird cuz It does recognizes single channeled tasks that I created. I think Im missing something fundamental on the block diagram...

  • Two info cubes & one info package

    hi guys,
    i am new to sap environment, now learning sap bw.  can someone can help me, how can i execute two infocubes in one info package.  i could able to execute only one infocube...  can we execute two inofcubes at the sametime... can some help me with detail procedure..
    cheers,
    kishore...

    Hi Kishore,
    Go to the Process monitor screen.Under the Header tab,you have datatargets,where your 2 infocubes will be displayed.
    Click on the Cube2 and you will be navigated to the respective cubes.and here go to the requests tab and and click on Montior screen and you will be naviagted to the process monitor.
    or
    In the infopackage,under datatargets tab.Sleect any one cube and will be naviagted to the Manage session.Under requests tab sleect the monitor screen and you will be naviagted to monitor screen of the cube 2.
    No,you cannot monitor both cubes from same session.You can open a new session and have 2 sesssions montoring 2 cubes
    or go to RSMO and have 2 sessions and monitor it
    hope it helps.

  • Any technique to use two instruments vi together

    hi,
    i am using labview to control arc monochromator and photon counter. i want to know is there any technique that i can use in lv 8, so that i dont have to control this two instrument with two differrent set of vi. That mean there should be one vi to control all the setting of this  two instrument and this all process works in synchronization.
    if it possible how can i do that?
    josan

    Of course. You just have to put the VIs you're using now into a top level main VI and create controls/indicators for the subVIs. Any VI can be a subVI to another VI.
    There are hundreds of shipping examples that have subVIs in them. You might want to take a LabVIEW basics course. Go to http://www.ni.com/devzone/lvzone/fundamentals.htm and check into the various options including official training classes, books, and on-line tutorials.

  • Unable to monitor two databases with same name on two different hosts

    I have got two databases with same name on two different hosts. I added one database to the list of monitored databases. Now If I try to add the other one , I get the message that the database is already being managed.
    Can't we monitor two databases with same name on two different hosts?

    you can... while saving the target,give a different name.. for eg target-2

  • Controllin​g two instrument​s with LView (APIB and GPIB) SINAD testing

    Well I am having mixed results here.  Part of my problem is that I am an extreme noob. ALthough i have had a few weeks getting into LabView and using instrument drivers etc..
    I am using Labview 8.2.
    I am trying to control two instruments: (AP2722)Audio Precision and (SMIQ) Rohde & Schwarz.
    This is for SINAD testing.
    The AP analyzer does not have an instrument driver and uses APIB...so i have to use ActiveX control.
    The SMIQ has an instrument driver.
    Will I be able to use/control the both of them within one project of LabView?
    I am trying to control each one separately but at some point I have to bring it all together.  Just wondering if LabView will even do this for me.
    thanks if you know.

    Driver attached from HERE
    The mnu's seem screwy but the Tree shows a complete PnP project structure-  Hierarchy View shows its reasonably organized.  APIB Seams like a specialization of the GPIB bus optomized for the AP language time constraints
    Jeff
    Attachments:
    Audio_Precision_2700_Series__1.0.1_.zip ‏2174 KB

  • If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    Actually, everyone missed one point, when a device is priced, the cost of icloud storage space for that device is also included in it that is why they are able to give you 5gb each for each user ID, in nutshell there is nothing free coming with apple device purchase, it is paid for.  What they are trying by giving only 5gb per user ID irrespective of the number of devices used is pure broadlight looting, they take money from you when you buy each device and give you nothing, This is a case of goods and services bought but not fully deliverd ie apple can be suied for discreminatory treatment towards it's users. I wonder why no one tried this yet in America where everyone sue everyone for petty things..... there is no one to take up this issue? . if tim got any love for the guys who shell out money for the devices his company makes, he should be implimenting this as priority before someone wake up from sleep and sue him.

  • I have a 3 year old MacBook Pro with MAC OSX 10.6.8, iPhoto '09 version 8.1.2 and have downloaded two software programs: one is Aperture 3.2 and the other is Photoshop Elements 9 (which I got from a friend who didn't need it). I am totally happy with the

    I have a 3 year old MacBook Pro with MAC OSX 10.6.8, iPhoto ’09 version 8.1.2 and have downloaded two software programs: one is Aperture 3.2 and the other is Photoshop Elements 9 (which I got from a friend who didn’t need it).
    I am totally happy with the way iPhoto organizes my photos and how I can work with iMovie to create slide shows with music from iTunes, etc.
    I have been shooting mostly high resolution jpegs and I continue to learn more and more about photography, post processing etc. I realize that the small adjustments I can make in iPhoto are good, and are adequate most of the time. However, a have started to experiment with shooting RAW images and would like to go the next step, ie. post processing.I am totally technically challenged and need SIMPLE, INTUITIVE programs and am certainly NOT anywhere ready for Photoshop CS whatever!
    After having these programs sit on my computer, I decided to try to see if I could figure them out. When I opened Aperture, this is what first comes up.
    “Welcome to Aperture 3.2
    Your library needs to be upgraded to work with this version of Aperture. Once upgraded, you will not be able to use this library with previous versions of Aperture.
    Upgrading a library from previous versions of Aperture 3 generally takes a few minutes or less, though larger libraries will take longer. After that, Aperture 3.2 will upgrade your library's thumbnails, but you can use the application during that time.
    Tip: To open a different library, quit Aperture and hold the Option key down while starting Aperture
    Current Library Location:
    Jadzia (home)   -----Pictures------Aperture Library
                                                      QUIT             UPGRADE”
    I have heard horror stories  about moving your entire library to Aperture, ending up with 2 libraries, etc. etc. hence my previous reluctance in attempting Aperture. In addition, many of my photography friends are saying: Go with Lightroom 3.....you’ll love it!
    So here is my dilemma.  I don’t want to mess around with my iPhoto library. All I want to be able to do, is to isolate a few photos, export them to Aperture, Elements, and work on them there, then bring them back into iPhoto.
    Can I do this? Should I forget about Aperture and Elements and look at purchasing yet another program like Lightroom?

    Export those few photos via the File ➙ Export ➙ File Export menu option with Kind = Original to the Desktop.  Then import them into the Aperture library. That would keep one copy in your iPhoto library and another in your Aperture library to edit, etc.
    You can use Photoshop Elements 9 from within iPhoto as your editor of choice. However, if you edit a raw file in iPhoto with PSE9 the resulting edited version must be saved outside the iPhoto Library and imported back in as a new file.  For editing jpegs just do a Save (not a Save As) and it all will be kept within iPhoto. 
    Using Photoshop or Photoshop Elements as Your Editor of Choice in iPhoto.
    1 - select Photoshop or Photoshop Elememts as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop.  When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done. 
    3 - however, if you get the navigation window
    that indicates that  PS wants to save it as a PS formatted file.  You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements  the Saving File preferences should be configured as shown:
    I also suggest the Maximize PSD File Compatabilty be set to Always.  In PSE’s General preference pane set the Color Picker to Apple as shown:
    Note:  to switch between iPhoto and PS or PSE as the editor of choice Control (right)-click on the thumbnail and select either Edit in iPhoto or Edit in External Editor from the contextual menu. If you use iPhoto to edit more than PSE re-select iPhoto in the iPhoto General preference pane. Then iPhoto will be the default editor and you can use the contextual menu to select PSE for your editor when desired.
    OT

  • How to configurate system for two database under one server

    Hi Friends,
    I installed abd created A database by oracle 10GR4 in window 32 bit 2003.
    it works.
    Then i created other B database by DBCA under this server.
    When I shutdown immediate database.
    it works well. But I can not startup mount ot startup A database again,
    I got below message as
    SQL> startup mount;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    From EM, I saw as
    A listen Status Up
    LISTENER
    Oracle Home          
    C:\oracle\product\10.2.0\db_1\BIN
    Location          
    C:\oracle\product\10.2.0\db_1\BIN\network\admin
    BUT agent connect Status          
    Failed
    Details          ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    A database instance down
    Host     salerpt.net
    Port 1521
    SID SALERPT
    Oracle Home C:\oracle\product\10.2.0\db_1\BIN
    Also I try to connect as
    SQL> connect sys/salel@salerpt as sysdba;
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Form EM, I saw listen start up.
    Then I stop it. then restart it
    I can saw B db listen and can not see A db listen.
    also
    I saw that other B database works.
    My listen info as***************
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1\BIN)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = SALERPT.NET)(PORT = 1521))
    I check physical, two database use one common bin directory .
    I do not have any experience to handle two database under one oracle server.
    How to check and configurate DB server system?
    Thanks for help.
    Edited by: user589812 on Jan 4, 2009 8:17 AM

    Jim,
    Before starting the database A, did you set ORACLE_SID=A from command line? You can run as many instances you want from single server provided you enough memory, processing power. Also try starting your instances usign window services and check and post some lines from alert.log for database A.
    tnsnames.ora entry
    DATABASE_A =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = salesrpt.net)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DATABASE_A)
    DATABASE_B =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = salesrpt.net)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DATABASE_B)
      )Regards
    Edited by: OrionNet on Jan 5, 2009 10:55 AM

  • I have an iPhone 4, My itunes are from two differnt accounts; one from when I was under my dads account, and the other is my own. My question is would I be able to sync and update my itunes on my MacBook without having all the new music erased.

    I have an iPhone 4, My itunes are from two differnt accounts; one from when I was under my dads account when i was younger, and the other is my own which i currently use. My question is would I be able to sync and update my itunes on my MacBook without having all the new music erased. I have the icloud on my phone, but I just want to update my music on my laptop. Just nervous to, because it has happened to me before on a desktop computer  and it *****. Please help! Thanks.

    nevermind, i figuered it out

  • About combing two array into one

    Hi all,
      I post a questiona bout converting an array of integer into char (byte) array and I got a solution already http://forums.ni.com/t5/LabVIEW/how-to-display-char-code-properly/m-p/2596087#M780368
    However, I enouther another problem while dealing with an array of  U16 type. I would like to extract the high and low byte from numbers (U16) stored in array. I extract the high and low byte for each U16 number and convert them as char, concatenate them to a string. Repeat this process for each element in the array so to get a big string with each element is a char for high and low byte. My code is enclosed as follows
    It works fine but I am concerning the speed. Is that any other way to do it fast and don't use loop (in real case, I will deal with pretty big array many times, efficiency is a problem). Note that the high and low bytes array extracted from the original array with the module Split number.vi, but how can I combine these two array in one code with data arranged as high-low-high-low ... ? Thanks.
    Solved!
    Go to Solution.

    PKIM wrote:
    However, I enouther another problem while dealing with an array of  U16 type. I would like to extract the high and low byte from numbers (U16) stored in array. I extract the high and low byte for each U16 number and convert them as char, concatenate them to a string. Repeat this process for each element in the array so to get a big string with each element is a char for high and low byte. My code is enclosed as follows
    It works fine but I am concerning the speed. Is that any other way to do it fast and don't use loop (in real case, I will deal with pretty big array many times, efficiency is a problem). Note that the high and low bytes array extracted from the original array with the module Split number.vi, but how can I combine these two array in one code with data arranged as high-low-high-low ... ? Thanks.
    You need to be more clear.
    Looking at the code, you are dealing with I16, not U16. Also your index array primitives could be replaced by autoindexing. Your use of the feedback node only makes sense if you want to append strings forever with stale data, thus growing data structures without limits. If you only want to convert the current data, remove the feedback mode and use a "concatenate strings" with a single input. A for loop is one of the most efficient data structures and using it is not a problem. One way or another the code needs top oerate on all data.
    All that said, I agree with Tim that most likely all you need to do is insert a typecast after the "to I16" and eliminate all other code.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • TS5292 What do I do if my original user account is not showing up in the Users & Groups window?

    I can't find any of my mom's information that was on her computer before I convinced to do the upgrade. HELP!!!!! I did the upgrade on my iMac with no problems.

  • Mail not recognizing links inside emails

    Using Mountain Lion ver 10.8.2 and Mail ver 6.2 When I open an email sent to me with Links to a website, I click on the Link and I receive this message. Error No associated application could be found. Any suggestions for fixing this. Cutting and past

  • Use of function

    I have a table with this records: linknumber history 110 46,57,89 220 50 330 22 440 10,12 I want to have this result: rownumber linknumber history 1 110 46 2 110 57 3 110 89 4 220 50 5 330 22 6 440 10 7 440 12 and I have this function for split(camma

  • Regions - Reports (based on sql) - Radio Buttons

    Hi there Trying to do : Selecting an option from Radiogroup, want to see certain report (summary). That report have a column that has a link to another page. RadioGroup : Options View 1 View 2 View1 Column1 (link), Column2, Column3, Column4 View2 Col

  • Losing Metadata when extracting image from stack

    Hi, I have a series of 70 images that I edited in colour and B/W. They were stacked with the original RAW file in stacks of 3. I decided to extract the B/W versions to collect them in a separate folder. Now I discovered that from most B/W images the