How to create a Detect Device Feature in my program

When a device is connected to my program, I wish to see some indications, like the name and properties of the device, to appear on the left side of the front panel. I have attached my program. Pls kindly advise what are the tools or functions i should use and how should I connect them to my program. Thanks a million!!
Cheers
MC.2
Attachments:
test.vi ‏307 KB

Could not open your vi.
But I suggest you go through the example codes in  these two links: one is to get device info using DAQmx property nodes and other to get info for VISA Devices
See if you can incorporate it in your code
Message Edited by devchander on 10-30-2006 03:31 AM

Similar Messages

  • How to create new node in feature

    Dear Members,
    Culd any one help me out .........
    How to create new node in features..
    Example:  NUMKR
    On defaulting which option to select to create new node?
    Return value
    field for decision operation
    sub feature
    programme
    debugging operation
    error operation
    comment
    How to proceed................????????????

    hi,
    Where you can select the option field for decision operation then select the filed which you want like personal area, subarea, employee group and subgroup.
    and then select the node and then goto create and assign the return value by selecting the option ' Return value'.
    NUMKR -> FILED - PERSKGemployee group)  -> field PERSK(employee sub group) and --> return value.
    thanks,
    Vasu.

  • How to create a .java file through a j2me program?

    I am trying to develop a small application in j2me which needs dynamic creation of a .class file. For this purpose I tried to create .java file through my j2me code, but i could not do that..I want to know whether a java file can be created on a mobile phone or not..
    I would be grateful to you on your help in this regard..

    ...develop a program xyz.java using j2me which performs the following functionalities:
    1.create a file called abc.java
    2.extract its class file...For +1+ ie to create a file (any file, no matter java or not) from j2me, device need to support File Connection specified in [jsr 75|http://www.jcp.org/en/jsr/detail?id=75]. If you're interested, learn the jsr API on how to create and manage needed file.
    For +2+ described as extract its class file one needs to have java compiler (javac) on device. *) If you're interested, ask for more details at [Java Compiler forum|http://forums.sun.com/forum.jspa?forumID=7]. Also, if the class file is for CLDC then javac needs to support "JDK 1.3-compliant" compilation. To create CLDC classes on device, one also needs to have a preverifier tool. Check this at Java Compiler forum if needed.
    Good luck - I think you'll need a lot of it...
    *) javac on device -- it should not only be present but also provide a j2me API allowing to invoke it for particular java file with needed options. Same applies to preverifier tool.

  • How to create relationship to call PO13 in ABAP program.

    Hi,
    Could anybody help me how to create relationship (like PO13) in abap program. Do we have any Function modules or any other way?
    Regards,
    Ram.

    Hi,
    You can use function module RH_INSERT_INFTY. There are plenty of threads of the forum on how to use it.
    Donnie

  • How to create a directory or Folder  using java program?

    Hi all,
    Can any one know, how to create a directory(new folder) in java.
    can any give me some idea, on creating a directory using java program dynamically.
    thanx in advance

    hi thanks for your answer,
    sorry, actual i know this technique(its my fault i didnt mentioned it)
    i am looking for some what different technique.
    bye
    ram

  • How to create a Menu for PeopleSoft HRMS application program ?

    Folks,
    Hello. I am developing PeopleSoft HRMS application program for a client. I have created 10 components. But I don't understand how to create a Menu on the left handside for users to access the components. The Menu's structure is as follows:
    Folder Root containing Folder1, Folder2.
    Folder1 containing Folder1a, Folder1b.
    Folder2 containing Folder2a, Folder2b.
    Folder1a containing Component1, Component2.
    Folder1b containing Component3, Component4.
    Folder2a containing Component5, Component6, Component7.
    Folder2b containing Component8, Component9, Component10.
    The Folder Root should appear in the Menu on the left handside. A user can reach Compoent1 by clicking
    Folder Root -> Folder1->Folder1a ->Component1.
    Can any folks tell me how to create such a hiearachical Menu ? Thanks.

    Folks,
    Hello. Thanks a lot for replying to me. By using PeopleTools->Portal->Structure and Content Reference, I have created the hierachical folder groups:
    FolderRoot containing Folder1 and Folder2
    Folder1 -> Folder1a -> the link to a Component
    Folder1 -> Folder1b -> the link to a Component
    Folder2 -> Folder2a -> the link to a Component
    The above hierachical folder groups have appeared on the left handside under "Menu" and work correctly.
    But when click on "FolderRoot", "Folder1" and "Folder2" don't appear under "FolderRoot" on the right handside of the screen. When click on "Folder1", "Folder1a" and "Folder1b" don't appear under "Folder1" on the right handside of the screen.
    I have checked PeopleTools ->Portal -> Structure and Content Reference's folder administration, there are no places to type in information to have children folders appear under its parent folder on the right handside of the screen.
    My question is :
    How to make children folders appear under its parent folder on the right handside of the screen ?

  • How to create a variant and execute a Z-program in background

    Hello,
    I have created a specific transaction to update relationships between partners (BP).
    For this i have create a screen painter, but as the run time is long i want to execute the program in background.
    How to save a variant and to execute the report in background ?
    Thanks in advance
    Christophe

    Hi,
    Please go to your z-transaction.
    Enter your selection criteria. & click on save button to save your your selection criteria as a variant.
    Now go to tcode SM36 to shedule your program with saved variant.
    Regards,
    Narendra

  • How to create a batch file for a java program?

    I have a java project in JCreator and the project is organised into packages. I have also configured JCreator to provide 2 arguments to the main method when the project is executed.
    I would want to create a batch file (.bat) for this project where the batch file can automatically use the arguments set in JCreator when the program runs.
    How do I go about creating the batch file?

    where the batch file can automatically use the arguments set in JCreatorThat all depends JCreator... can you get those arguments somehow?

  • How to create a top include for module pool program

    hi all..
      I want to add my global declarations in one top inlcude.. There are so many other includes in my pgm. But how can i create top include explicitly. Also I have one normal report pgm attached with this module pool.

    hi Cynthia ,
       there are two ways of creating a top include at your situation  ,
    1) Insert an include <Prog name >TOP  in your mpool program and cut n paste your declarations there .. check if this works ...
    2)else .. create another m pool program in SE80 , while creating a pop up will ask for with TOP include ... check mark that and then proceed ..
       anything of these two will work ...
    Reward if helpful !!
    Regards,
    Ranjita

  • How to Create Linux-Cron Job  from a Java Program

    Hello,
    Can anybody help me to CREATE/EDIT/DELETE Linux Cron job from Java Program. Its Very Urgent.Thanks in advance..
    from
    Chakri

    I decided this didn't sound too tough so I played around with it a little. Basically because I'd never tried executing external processes out of java before, so I wanted to see how it was done.
    Just change whatever you like in the jobs ArrayList and call writeJobs.
    If you call writeJobs without putting anything in the list first you'll wipe out all of your crontab entries.
    import java.lang.*;
    import java.io.*;
    import java.util.*;
    public class cron {
        ArrayList jobs;
        Runtime rt;
        cron() {
         rt = Runtime.getRuntime();
         jobs = new ArrayList();
        void readCron() {
         String[] list = { "crontab", "-l" };
         jobs = new ArrayList();
         try {
             // Stick a job into crontab
             Process child = rt.exec(list);
             BufferedReader cronout = new BufferedReader(new InputStreamReader(child.getInputStream()));
             String cronjob = cronout.readLine();
             while (cronjob != null) {
              jobs.add(cronjob);
              cronjob = cronout.readLine();
             child.waitFor();
         catch(IOException e) {
             System.err.println("IOException starting process!");
         catch(InterruptedException e) {
             System.err.println("Interrupted waiting for process!");
        void listJobs() {
         Iterator iter = jobs.iterator();
         while (iter.hasNext()) {
             System.out.println((String)iter.next());
        void writeJobs() {
         String[] edit = { "crontab"};
         try {
             // Stick a job into crontab
             Process child = rt.exec(edit);
             PrintWriter cronIn = new PrintWriter(child.getOutputStream());
             Iterator iter = jobs.iterator();
             while (iter.hasNext()) {
              cronIn.println((String)iter.next());
             cronIn.close();
             child.waitFor();
         catch(IOException e) {
             System.err.println("IOException starting process!");
         catch(InterruptedException e) {
             System.err.println("Interrupted waiting for process!");
        void doStuff() {
         readCron();
         listJobs();
         jobs.add("* * * * 4 cronjob");
         writeJobs();
         readCron();
         listJobs();
        public static void main(String[] args) {
         cron c = new cron();
         c.doStuff();
    }

  • How to create 2 transaction codes for same report program with diff title

    Hi All -
      I have created report program and create 2 transaction codes with different short description. I want to display the Tcodes decriptions instead of program attributes title.
    Can anyone pls tell me how to do this?
    Thanks,
    Kannan

    Hi Kannan,
    define 2 titlebars t1 and t2 for the report. In report initialization,
    IF sy-tcode = 't1'
      SET TITLE t1.
    ELSE.
      SET TITLE t2.
    ENDIF.
    Regards,
    Clemens

  • How to create security character validation to avoid automated programs

    Hi All,
    I am developing a web page for creating user accounts. I would like to do the security character validation to avoid the misuse from automated programs.
    This is what you may have seen on all popular web pages where you are asked to enter a scrambled set of characters into a text field before submitting your request.
    Please provide any samples or direct me where I can get some help on this.
    Your help is greatly appreciated.
    TIA,
    CK

    Why look for samples when u can can use ur own logic and thinking ?
    My approach ...
    1) Create a lot of scambled images having alphabets like 'rhoit' , 'rohit' ..
    File naming convention should be same as the text. Ex: rhoit.jpg, rohit.jpg ...
    2) Add the images names into a table and then populate a HashMap / ArrayList containing the image names
    3) Randomly pick some artibitrary element from the Arraylist and display the corresponding image in the create user accounts page.
    3) Compare the image name with the inputed text value for a match. The expected value should be set in request parameter.
    4) Handle the success/failure condition.
    I hope that should work fine.
    Regards
    -Rohit

  • How to create new text symbols for the standard program.

    Based on the customer's requirement, I need to create a new implicit enhancement for the selection screen.
    I want to create new text symbols for the parameters and blocks, but I cannot change the standard ones.
    Does anybody know something about that? Thank you.

    hi ming yu,
    example : %_MATNR_%_APP_%-TEXT -> this is the material  description name in mb5b
    change the description in ur enhancement implementation
    %_MATNR_%_APP_%-TEXT = 'Material'
    it is works only input/output field
    Thanks&Regards,
    naveen

  • How to create Transaction code for ABAP and execution by other user

    Hi All,
    Could someone please let me know how to create transaction code in detail for ABAP program. Step by step procedure expected. I would like to know how other user can execute the report using same transaction code which I have created.
    More about authorization.
    Thanks in advance.

    Hello,
    You can create transaction code from se80 as well.In object navigator,right click on your program name and create->transaction code.You can create transaction and select if it is only a report,a report with selection-screen depending on your requirement.You can run your report directly by entering the transaction code in the command field.
    You can authorise the users who can use your transaction:
    <b>Authorisation objects</b> are used to restrict certain transactions to users.Critical data must be protected from unauthorised users.For example,the head has access to certain data.But it cannot be accessed by his subordinate.For this we need to define <b>roles</b>.
    •Create an authorization object with transaction SU21.
    An object usually consists of the ACTVT (activity) field and one other field,which specifies the data type to be protected.By ACTVT, we can decide if the data is accessible for change,display only etc.
    •Add authorization fields to the authorization object created.
    •Assign the authorization object to the transaction using SE93.
    Attach the authorization object to the role using transaction PFCG.
    If you want <b>to assign roles</b>,use transaction PFCG.Create a new role.In the AUTHORIZATIONS tab,you can get a self generated profile name and a profile text by clicking on the icon next to it.Then go to the "Change Authorization data" and choose an authorization template.Then you can choose to display/change/create an activity and after the selection,click on the red and white circle.The profile will now be created.
    In the user tab,you can give the user details who can use this role.
    <b>Also check this link:</b>
    http://www.*********************/r3_security/r3_security_tips.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/6716a6439b11d1896f0000e8322d00/content.htm
    <b>Very helpful guide:</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c
    Regards,
    Beejal
    **Reward if answer is helpful

  • How to create TCode to a report program...?

    <b>Hi all
    How to create a transaction code to a report program,,
    can any one give me  in step-by-step procedure..
    points will b rewarded for the exact answer....
    Thanks,</b>
    regards,
    prashanth

    Hi Prashanth,
    Following are the steps for crating t-code for a report program:
    1. Goto transaction SE93 and press create.
    2. Give the transaction code to be created
    3. Enter short text
    4. Select the type of transaction to be created (based on ur requirements).
    5. Enter screen number (1st screen to be displayed)
    6. In GUI support, check all the checkbox
    7. Save and activate.
    You can also do this procedure by going to SE80, right click on program name->create transaction.
    THanks
    Vijay
    PLZ Reward points if helpful

Maybe you are looking for

  • How to check COPA Data in R/3

    Hi Experts, There are some entries of COPA posted in BW are incorrect. Business wants to know who has posted these entries in R/3 . Could you please suggest me some transactions codes of R/3 for COPA related data so that I can investigate it. The pro

  • 2007 Macbook Pro hookup to TV

    Hello fellow apple users. I know this has been asked before and I have read through most the disscussions but I still can not figure this out. I am looking to hook up my 2007 Macbook Pro (2.4 Ghz 15 Inch Screen) to my sony bravia 32 inch TV. Seeing h

  • Financial statement version - Profit after tax

    Dear All, I have created  financial statement version.as assets liabilties income expenses. profit and loss result. client want profit after tax and profit before tax. How to configure the to get the values?. Kindly let me know. Regards, Mouli.

  • Photoshop cs5 liquify filter shows no effect until after clicking OK

    I"m using photoshop cs5 and the liquify filter dosen't show any effect until after I've clicked ok. I've checked, and unchecked "show backdrop" and the opacity is set to 100%. I'm stumped.

  • Default Tree in oracle apex4.1

    Hi, i have a table named as "DMS_DOCUMENT_MAS" Doc_id is the primary key. i have specified in this table document with their folder name. This table as folder name , sub folder name and their document name. Subfolder can be null. How i can create def