I am restating my question about outputing specific voltage values

Hello,
Right now, I use the function generator vi , an example vi from DAQ and analog out. So from that VI i get functions such as sine, sqaure with a user defined amplitude and frequency. Now what i want to do is this:
Develop a vi which will output specific voltage values defined by the user (me). i.e, say i want the vi to output voltage values such as 0.1,0.2,0.3,4,6,8,10,12,14,0.4,0.5, then i just write these values in the table and the vi should ouput these voltage values one after the other in near real time. I hope i am clearer this time.
I am an amatuer user of Labview and am currently working on a student version of Labview 7.0 Express.
Thank you
Ujwal

Thanks for the reply.
Yes, i think you have understood my problem correctly now. But the only thing i would like to clarify is that I would input the voltage values before starting the program, say in the form of a array/table. Once i put these values the program should output these voltage values. These voltage levels should be output in near real time i.e., the time between two values should be in the microsecond domain.
Here are the sample voltage levels I am interested in. ( but i want these values alterable, i.e., i should be able to input these values before running the vi)
Voltage Levels(V)
0.1
0.2
0.3
0.4
15.0
-15.0
0.5
0.6
0.7
0.8
0.9
1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
2.0
The time lag between two levels should be preferably as less as possible in microseconds. I am not able to tell you any specific value, but 5-10 microseconds should be fine.
Just a query: Can this whole thing be achieved by reading this from a file by changing the interface of the existing function generator vi to a read from file ( spreadsheet). I tried this but the parameters of inputs in the program didnt match and hence the vi failed to run. Is this a possible approach though?

Similar Messages

  • A question about assigning a default value

    Hi guys, I have a question about assigning a default value to a Numeric Decision CO. This Co needs 2 parameters to compare with each other. I wanna assign para1 during runtime and para2 during design time, but I have no idea how to assign a default value to para2 during design time. Can anyone help me solve this question? Thx a lot.
    BTW I`m searching an article about Time-off example`s "details". I have read several articles about time-off example, but those are not detailed enough. I wanna know about all details of COs. Can anyone forward such article to me, plz.  Thx again.^^

    Hi,
    You can assign a default value to the parameter of a callable object.
    First attach your CO to an Action.At the action level you can assign default values to the CO Parameters.
    Select the action in the design time.
    Select the parameters tab for that action.
    Select the required paramter. At the top, you can find Default value tab, with that you can assign default value.
    I think you can achieve your requirements with Business logic CO better.
    [Business Logic CO|http://help.sap.com/saphelp_nwce10/helpdata/en/44/3d3936c5c14a8fe10000000a1553f6/content.htm]
    Thanks

  • Question about outputting DVCPRO HD to MiniDV Tape

    Hi There,
    I have a DVCPRO HD 720p24 project that I need to output onto MiniDV and I have a few questions. I am running FCS2 with the latest updates.
    1) I have an older sony camera (DCR-PC100) that I am outputting to. I would like to maintain my 16x9 aspect ratio. Provided I have selected anamorphic in my sequence settings, will my camera record a 720x480 image with the aspect ration intact? The camera is just a 4:3 consumer camera and it's a bit older. Just don't want to lose any quality.
    2) As it states in my signature, I'm working on a MBP so my only video output for coloring monitoring and that type of thing is through firewire and out of my camera. This doesn't work correctly from my native 720p24 sequence - it just sticks on one frame. I am already in the process of rebuilding a 720x480 NTSC sequence. Is this the only way I can output properly to a monitor?
    Thank you for reading my post

    Hi Spiff,
    Well I mainly assumed so because the most practicle way to screen a selection of films in one session at a short film festival is to compile a tape with all the films set to one ratio (usually 4:3)and I thought you were specifically asked to send a tape.
    However it would be wise indeed to call them.
    Some festivals use/compile miniDV or DVDs some others BetaSP or DigiBeta.
    With regard to transferring the film onto your PC 100 (Mighty PC 100! It was very popular 4-5 years ago amongst domestic camcorders, so popular that Sony put a PC 12O in the market with enahanced features) providing it works fine, then you will be fine to use it. Renting a deck or using a pro camera with miniDV capability will not improve the quality of your video.
    If your anamorphic version looks fine then lay that one on the tape.
    Try to use Panasonic pro master 63 minutes miniDV tapes. THey are white tapes.
    Good luck with the festival!
    G

  • (Silly)Question about a specific tool in Photoshop...

    First off, I apologize if this is one of those DUH questions, but I am not a scholar of Photoshop (yet...lol):
    Ok, seen these logos? :
    My question is: How exactly do I go about making a round shape(Or any shape really) and then cutting out swathes or sections of it to make stuff like the above? (Am I even using the correct terminology?)
    I used to have Illustrator 7 and I remember the stuff I had to access in order to do that (merge/cut I think?) but with Cs4, everything is so diferent....Where in Photoshop are the controls to merge/cut/slice whatever (If those are even the ones)???
    I know there are tutorials online, but I can't even find those cuz I don't know what terms to use in order to get to them...
    Thanks so much for your help//
    I a

    To draw a circle there are detailed instructions in the help file under circle.
    To get the "cut-outs" you can draw circles or lines with the background color to make it look like your examples.
    Many other ways to do it, but start simple.

  • Questions about a specific offline editing workflow with AVCHD Source

    I`m working on a imac i5 in FCS3 with ProRes422
    I got a Sony HDR XR 500 AVCHD Camera, i get the material in FCP with the Log & Transfer Window. In this way the material is going to render on the fly to the Target Codec ProRes422.
    In the editing workflow in FCP i recognize the system got a little problem with the big ProRes files which means that the workflow slows down by the data rates of ProRes in HD
    Now i think about offline Editing for months.
    I read about the workflow, but there`s is one part that i don`t understand.
    In every tutorial about this thread, they say that in the end of editing process you have to make your timeline files offline with the media manager, than recapture, reconnect from the tape with timecode.
    BUT I DON`T HAVE A TAPE !!
    My source files are AVCHD, which every one starts by tc 00:00:00:00
    are the following thoughts possible, and how do i do this in detail?
    when i do Copy my ProRes422 full hd files with media manager, so the filenames are still the same like the original ones.
    in the copied project i start media manager again and turn the whole project in ProResProxy for offline editing. The file names are still the same.
    then i edit my project in this ProResProxy Project !
    At the end, shortly before i want to render out the whole movie in Full Resolution ....how can i reconnect with the original sized full HD ProRes422 files that are sleeping in a folder on my machine??
    Can someone tell me something specific to this workflow, or a better one?

    Folks, i've Found a Workflow in the web and tested it tonight - (it Works)!
    And this Way i can Archive my Final project later on DVD or BR in AVCHD Source Files which are much smaller as pro Res 422 or HQ...
    Here's the process in a nutshell. 
    - Backup your full cards. This needs to be done no matter what you do. 
    - Log and Transfer the footage as ProRes Proxy. 
    - Edit. 
    - When you lock picture, Media Manage the sequence using the MAKE OFFLINE option, choose the codec you want to reimport this footage as...ProRes 422. You will end up with a new sequence with only the footage used in the cut, with handles (yes, give yourself like 3 second handles). 
    - Use Log and Transfer to load all of the card backup folders. Just locate them...don't transfer again. You are telling FCP where the folders are. Close L&T. 
    - Highlight the sequence in the Browser, or all the clips in the MEDIA folder that is created, and choose BATCH CAPTURE. This will bring up the Log and Capture interface, but don't worry, it will now log and transfer the footage, and ONLY the small chunks of video you choose. It will recognize the IN and OUT points. 
    Do a small test and see for yourself. I have done this with AVCIntra P2 and it works well. 

  • Question about RTMP specification

    Hello,
    I have downloaded and read the RTMP specification, and am confused about some of the wording relating to the RTMP Chunk Stream.
    Page 19 of the RTMP Chunk Stream specification states that an extended Timestamp must not be present if the timestamp field is not present, then further states that Type 3 chunks must not have this field.  The only Chunk message header that has a timestamp is the Type 0 header.  Types 1 and 2 do not have a Timestamp field (however they have a timestamp delta.)  If applicable, is the extended timestamp only included with a Type 0 chunk, or do Type 1 and Type 2 chunks also include it?
    Thanks for your time.

    Hello i noticed a difference with the 'extended timestamp' in Type 3 chunks. The 'RTMP Specification' on page 19  say 'In the Type 3 chunks MUST NOT have this field.', but i see the 'extended timestamp' in chunks from the flash player. Here my trace with same decoding comments:
    06 channelId:6 Type 0 chunk
    FF FF FF timestamp
    00 BC 48 message length
    09 message type id
    01 00 00 00 msg stream id
    01 64 3D D0 extended timestamp
    payload chunk size is 128
    12 00 00 84 02 80 9E FE 25 2A 2E F8 30 3F 99 FC
    4C AB 6E B7 2F CB CB E2 DE 62 A7 86 9E BC 3E 04
    05 73 C3 D1 F0 FB 70 45 12 80 32 CE 4C B3 44 6E
    76 37 66 62 C7 A5 84 A0 60 12 C1 80 51 55 E9 41
    80 D5 06 01 69 55 53 EB 70 18 06 10 60 1A FC C2
    BF 4C B0 03 65 1D E5 FA 6B 57 AE 91 80 C0 25 03
    00 A9 E2 EB F0 60 36 01 80 61 B6 65 1D 83 00 D0
    0C 03 82 B1 16 C0 52 89 35 7A D3 18 C2 88 F6 CD
    C6 channelId:6 Type 3 chunk
    01 64 3D D0 (I think tihs is a extended timestamp)
    00 FE 03 02 F7 28 19 50 AF F8 55 7D 8C 35 1A 33
    0E 3D EE DC F2 75 3B 10 E4 CC 21 7B CF C1 80 11
    06 00 64 BF 41 0C 18 00 F0 0C F9 7F F2 DA AC 18
    01 10 40 56 3B C5 17 3F 4B BE AD AC B6 E5 DC C1
    DC 91 EF 60 C0 4F 03 00 3E 5F B6 83 00 36 0C 00
    99 7C A0 C1 88 80 62 A5 3C C0 60 9E 81 80 10 CD
    9B 59 83 BE B0 E8 F5 40 C0 22 03 00 A9 00 D8 30
    0C 00 C0 36 97 F2 D0 60 5E 02 1D 08 39 F1 EE 03
    and the next chunk
    C6 channelId:6 Type 3 chunk
    01 64 3D D0 (I think tihs is a extended timestamp)
    04 F2 07 FB 67 07 6D F6 5B B6 9F 8E A0 C0 20 83
    00 B3 E5 14 18 0F 00 84 AF 6A AD A2 58 30 02 A0
    C0 0C 04 39 F8 A6 A9 D0 60 3E 41 80 10 2F 6B 16
    98 C0 8A E6 AF 2A 12 44 75 73 CA F6 62 90 3F FA
    58 08 52 6C 63 AB 64 E1 D8 70 43 FC 9C 2F 2F F5
    9B 66 5A 0A AD FB 48 0C 3D E8 18 0A 60 60 09 2D
    55 FF 03 00 3A 0C 00 CA 8B C5 70 4B 06 00 60 18
    00 F2 FA 8F EA 84 88 5D F9 19 6B E0 59 EF 5E 06
    Is this an error in the Flash Player or a mistake in the 'RTMP Specification' ?

  • QUESTION ABOUT OUTPUTTING to a .txt File???

    I want to output some input to 3 different Output and then read those in later... my problem is HOW DO I SET 3 DIFFERENT OUTPUT FILES THAT WILL BE ABLE TO GET THE INPUT EVERY TIME THE PROGRAM IS RUN....?? I DO NOT WANT THE USER TO BE ABLE TO NAME THOSE FILES... I WANT THOSE FILES TO BE OPENED OR CREATED WHEN THE PROGRAM IS RUN... RIGHT NOW I JUST HAVE ALL THE INPUT GOING TO THE SCREEN AND THAT'S NOT WHAT I WANT IT TO DO.. I WANT THE INPUT TO GO TO SEPARATE 3 FILES...
    THANKS..
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    public class Assemble
         public static void main(String args[]) throws IOException
              if (args.length > 0)
                   System.out.println("");
                   System.out.println("");
                   System.out.println("");
                   System.out.println("Assemble.class is a small program that");
                   System.out.println("takes in as input a body of text and then");
                   System.out.println("outputs the text in an order according to");
                   System.out.println("the tags that are placed in the input.");
              else
                   System.out.println("");
                   System.out.flush();     
         BufferedReader in = new BufferedReader (new InputStreamReader( System.in ));
         String input;                
         while (true)
              input = in.readLine();
              if (input == null)                          
                   break;
              else if ( (input.compareTo("<HEAD>")) == 0)
                   do
                        input = in.readLine();
                        if ( (input.compareTo("</HEAD>")) != 0)
                             System.out.println(input);
                   while ( (input.compareTo("</HEAD>")) != 0);
              else if ( (input.compareTo("<BODY>")) == 0)
                   do
                        input = in.readLine();
                        if ( (input.compareTo("</BODY>")) != 0)
                             System.out.println(input);
                   while ( (input.compareTo("</BODY>")) != 0);
              else if ( (input.compareTo("<FOOT>")) == 0)
                   do
                        input = in.readLine();
                        if ( (input.compareTo("</FOOT>")) != 0)
                             System.out.println(input);
                   while ( (input.compareTo("</FOOT>")) != 0);

    To write to a file, use PrintStream. It has a method println() like System.out, except you can specify a File as the target, e.g.:
    PrintStream ps=new PrintStream(new FileOutputStream(new File("myfile,.txt")));And to write a string to this file,
    ps.println(String);

  • A question about output of show isakmp sa

    I couldn't find any detail explanation of show isakmp sa output on ASA platform on CCO,
    from ASA show isakmp sa, i can find some SA Type is user,some SAs type is l2l
    all ipsec vpn configured type on this ASA is L2L, why  the type of SA is user under some SA,
    what is means of type is user?
    thank you!
    ASA# show isakmp sa
    IKEv1 SAs:
       Active SA: 5
        Rekey SA: 0 (A tunnel will report 1 Active and 1 Rekey SA during rekey)
    Total IKE SA: 5
    1   IKE Peer: 1.1.1.1
        Type    : user            Role    : initiator
        Rekey   : no              State   : MM_WAIT_MSG2
    2   IKE Peer: 2.2.2.2
        Type    : user            Role    : responder
        Rekey   : no              State   : MM_WAIT_MSG3
    3   IKE Peer: 3.3.3.3
        Type    : L2L             Role    : responder
        Rekey   : no              State   : MM_ACTIVE
    4   IKE Peer: 4.4.4.4
        Type    : L2L             Role    : responder
        Rekey   : no              State   : MM_ACTIVE
    5   IKE Peer: 5.5.5.5
        Type    : L2L             Role    : responder
        Rekey   : no              State   : MM_ACTIVE

    we have many ipsec vpn connection configuration, same config, but only some of them showing Type: User,
    I find when ipsec connection not in active state. show isakmp sa show Type:user.
    is this a default state.
    I haven't found detail explanation from CCO ASA document?

  • Question about Output Preview

    I have a simple Illustrator file. The color values are C=0  M=0  Y=0  K=100
    When I run the file through Acrobat Professional's Output Preview to check the colors (I am looking to make sure there are no C, M or Y values), I get values for all four (CMYK).
    What gives here?
    Thanks

    May I suggest the setText() method?

  • Question about output in Excel file

    Hi all experts
    I am trying to export a report to excel sheet. Got one problem, in the report there are codes of companies,  like "09", "08", but when exported by using WS_EXCEL FBS, i got the result "9", "8".
    That is> the Zero at the beginning is lost.
    How can i solve this problem easily?
    question2, how can i make the alignment better. (now some are left and some are right aligned)
    thank you !
    here is my coding
    CALL FUNCTION 'WS_EXCEL'
    EXPORTING
    FILENAME = file1
    SYNCHRON = ' '
    TABLES
    data = tab_comp
    EXCEPTIONS
    UNKNOWN_ERROR = 1
    OTHERS = 2
    file1 = 'c:\tmp\b.xls'
    Richard

    Hi,
    Conventionally it is not possible.
    If u can compromise to some extent its is possible. Check below code.
    U may have to give one check box in selection screen/Push button in output list.
    Based on the selection(In case of check box)/Click(In case of push button) u can download the data.
    U have loop through ur itab and modify that value by concatenating the special character '
    But it will also be downloaded to excel
    If u don't understand what i am saying just copy paste below code and see whether it will be fine.
    TYPES:BEGIN OF t_tab,
            empno(10) TYPE c,
          END OF t_tab.
    DATA: i_tab TYPE TABLE OF t_tab,
          wa_tab TYPE t_tab.
    CLEAR wa_tab.
    wa_tab-empno = '0075694'.
    APPEND wa_tab TO i_tab.
    CONCATENATE '''' wa_tab-empno INTO wa_tab-empno.
    MODIFY i_tab FROM wa_tab INDEX 1.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                  =
        filename                      = 'E:/test.xls'
    *   FILETYPE                      = 'ASC'
    *   APPEND                        = ' '
       WRITE_FIELD_SEPARATOR         = '#'
    *   HEADER                        = '00'
    *   TRUNC_TRAILING_BLANKS         = ' '
    *   WRITE_LF                      = 'X'
    *   COL_SELECT                    = ' '
    *   COL_SELECT_MASK               = ' '
    *   DAT_MODE                      = ' '
    * IMPORTING
    *   FILELENGTH                    =
      tables
        data_tab                      = i_tab
    EXCEPTIONS
       FILE_WRITE_ERROR              = 1
       NO_BATCH                      = 2
       GUI_REFUSE_FILETRANSFER       = 3
       INVALID_TYPE                  = 4
       NO_AUTHORITY                  = 5
       UNKNOWN_ERROR                 = 6
       HEADER_NOT_ALLOWED            = 7
       SEPARATOR_NOT_ALLOWED         = 8
       FILESIZE_NOT_ALLOWED          = 9
       HEADER_TOO_LONG               = 10
       DP_ERROR_CREATE               = 11
       DP_ERROR_SEND                 = 12
       DP_ERROR_WRITE                = 13
       UNKNOWN_DP_ERROR              = 14
       ACCESS_DENIED                 = 15
       DP_OUT_OF_MEMORY              = 16
       DISK_FULL                     = 17
       DP_TIMEOUT                    = 18
       FILE_NOT_FOUND                = 19
       DATAPROVIDER_EXCEPTION        = 20
       CONTROL_FLUSH_ERROR           = 21
       OTHERS                        = 22
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *Here output in excel is '0075694
    Thanks,
    Vinod.

  • A question about output result

    i want to print the query result of a database table into the screen. but i found it difficult to align the results. listed below is an example
    Mary F 28
    Alexandra M 30
    i usd the listed command to print above results:
    System.out.println("\t" + name + "\t" + gender + "\t" + age);
    i had planed to use '\t' to align the output, but i found length of data are different. like "Mary", it is less 8 characters, while "Alexandra" requires 9 characters. this leads to the output is not aligned. the expected result would be like this:
    Mary F 28
    Alexandra M 30
    anyone knows how can i align the output ? thanks a lot!

    by writing something like
    public static String leftAlign( String string, int length)
    StringBuffer buffer = new StringBuffer( length);
    if( string.length() < length)
       buffer.append(string);
       for ( int idx = string.length(); idx < length; ++idx)
         buffer.append( ' ');
    else
       buffer.append( string.substring(0,length);
    return buffer.toString();
    System.out.println( leftAlign( "", 9) + leftAlign( name, 30) + leftAlign( gender, 5) + leftAlign( age, 5) );

  • Workflow question about output module names

    Hi!
    I have been working on a massive project that requires hundreds of lower thirds.
    After finishing the actual design, my workflow has been like this:
    1. Save the project with a new file name
    2. Replace the old text with the new one
    3. Save
    Before doing that, I have added the render comp to the render queue. For the output module name and location, I have used a template that automatically gives the output module the project name. This has been great, since I have only needed to enter a new project name when "saving as" and the render module has automatically taken that name for the output file name. A great speed saver when you have to do tens of repeats.
    Now here comes the problem:
    After I had created all the necessary AE-projects, I was thinking of importing all the projects in to a single AE-project and then simply hitting render (since all the output modules were automatically added to the render queue when importing the projects) so that I could leave the computer rendering for a few days and do something else in the mean while. BUT when I import the projects, the name for the output module changes for every item in the render que to represent the current project. In other words I loose all my carefully planned names that I used to have in the output modules, because AE replaces them with the current project name.
    Is there any way of keeping the workflow I described without having to rename all the output modules after importing the projects in to a single render project? Is there some other way to get a good workflow on a project like this?
    Any tips will be highly appreciated!

    Should be perfectly doable to iterate through the appProjectIItem list. Off hand I'm not sure if it recognizes folders, though, so maybe it will be a bit more tricky to get what you want. IMO the safest way to avoid any confusion would be to have the script itself do the import. That way it can store the name of the imported file as a variable or some text file and reuse it when it renames the RQ items...
    Mylenium

  • Question about output the com port signal

    Dear all,
    I can successfully change the received signal from COM1 into ASCII, and I can use System.out.print to output the ASCII. However, I cannot output the received signal in the JTextField.
    Could anyone help me to solve this problem please?
    Thank you so much

    May I suggest the setText() method?

  • NOOB question about outputting final edit

    I'd used FCE for several years, and am in the midst of switching over.
    I've gone through 2/3 of Mr. Wolsky's book and have probably 4-5 completed projects with FCP X. However, there have been some FCP X updates since the book was written.
    I will be filming a concert for a friend, and have learned how to create and edit a multi-cam clip.
    My friend wants a recording of the complete concert, and in addition to the complete concert, he also wants individual songs from the concert separated from the complete show as "stand alone" files.  He wants to be able to upload these "stand alone" song videos to his own website, so I was going to deliver the edited files of the complete concert, and files of the individual, edited songs on a external hard drive. 
    I'm using consumer-level cameras (Sony CX 700, Sony PJ710, Sony HC9, iPhone) recording at 1080.
    My question is, what settings/options should use to share the finished video so that he can upload them (from his PC) at the highest quality?
    Thanks in advance for any assistance.
    Gary

    Gary Markovich wrote:
    …  It there some kind of generic HiDef QuickTime format that is somewhat "universal" to both platforms?
    I'm delivering my son's weekly game-reports to the soccer-moms & -dads on various platforms - incl. Xbox/PS3 as media-players. 'My' universal format is 720p as h264.mp4.
    so, my workflow is:
    • exporting a master-file (for future use, the 'raws' get dumped after a year), which is actually 720p - not fullHD, for two reasons: a) I hadn't the recording equip until now, b) some device stumble with higher bit-rates 1080p makes neccessary
    • open the file in MpegStreamclip, go straight to save-as, and in the drop-down I choose mp4 - this 're-wraps' the file into a mp4 media-wrapper without lossy re-encoding
    ==> the resulting mp4 is fully compatible on all platforms I know of.-
    note:
    I'm still not fully aware of the various 'new' export options since vers06 of FCPX … esp. the 'package' option, which allows multiple exports within one click, is tempting, although I assume, my brave ol' MacMini will start choking on so much encoding
    a friend of mine owning an i7 iMac blows me away when hitting Export - actual hardware makes a difference
    mov asks for Quicktime-for-Windows on PCs - which some Windows users are hesitant to install.
    proRes is a MacOS-proprietary format .... and is a lil' 'bloated' for exchange.
    so, h264 is universal (since YouTube), mp4 is 'more universal' than mov

  • Question about output through the DVI port

    The problem: I am using a DVI to HDMI cable to send video to an AV receiver. The AV receiver strictly only accepts a DVI-D (Digital) signal. Upon turning it all on, the MacBook Pro screen reloads and appears to be sending video out, based on the AV receiver's model name appearing in the Display's menu bar. The receiver however reads "No Signal". Most likely this is because the MBP's dual-signal port is giving it problems (it can send both analog and digital).
    Is it possible to elect to send a digital-only signal? The cable itself does not include the extra pins for analog, so I'm not sure why it would think it is.
    Keep in mind I'm not entirely sure this is the problem, I just have confidence in this theory.
    Regards,
    Edward

    HDCP: The cause of, and solution to, all of life's problems.

Maybe you are looking for