Why does the counter work in MAX, but not Labview?

Please help, I have been away from Labview for over 3 months, and I am quite rusty....
Last year, I successfully configured NI9401 to measure period (seconds) by counting the rising edges of my sensor signal.  Since then, I have aquired a new PC, and loaded all my software into it, including the Labview VI's that successfully worked on the old computer.
I can see the digital signal using MAX and the test panel for the NI9401, so, I know my wiring and my TTL signal is OK, but, when I try to run the attached VI, nothing happens except the error below..  How do I tell this VI to look for the signal on MOD3/CTR0 and channel 14?
Thanks. I am sure it is a small adjustment...this worked fine a few months ago...not sure what is wrong now.
Thanks,
Dave
Solved!
Go to Solution.
Attachments:
continuously measure period buffered_singlechannel_forum_feb_23_2012.vi ‏20 KB

OK, now.  Resolved the issue. The vi is fine, but, some shaky wires were identified...worked in MAX but not in the vi.  Now that the connections have been tightened up, it works for both.  Sorry for the inconvenience.
Dave

Similar Messages

  • HT3387 When I use pages the languages that I mainly use are English and Hebrew. The spellchecker works for English but not with Hebrew. How can I add another language to the spellcheck?

    When I use pages the languages that I mainly use are English and Hebrew. The spellchecker works for English but not with Hebrew. How can I add another language to the spellcheck?

    http://m10lmac.blogspot.com/2011/06/extra-spell-checking-dictionaries-for.html

  • How do I get the audio playback from the source monitor to work? I have the trial version of the latest premiere and the audio works in that but not cs6

    I have the trial version of the latest premiere and the audio works in that but not cs6

    More information needed for someone to help... please click below and provide the requested information
    -Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840
    -especially your sound hardware, and the details of your video

  • Why does the frame of my rotated video not rotate also?

    I've checked these forums and followed the method to rotate a video that turned out to be rotated 90 degrees. When I rotated the video it rotated all right but the frame is still vertical portrait format and did not rotate also. What I wind up with is a tall vertical frame that has a properly rotated video that has both ends cropped off. Any other videos I now add to the timeline are also inside of this tall frame and also cropped off because the frame is tall and narrow, not rotated with the image.
    How do I go about doing this correctly? Is it possible to just rotate a video that has turned on its side and have the format or frame rotate also?
    TIA, Ken

    It never ceases to amaze me the odd hours that the loyal Adobe staff puts in. Look at the time stamp on Mark's post.
    To be more specific, just in case other people come along with the same question, create the sequence from your clip first. That will make it the right size and shape and frames per second to match up with your video.
    You can do this by dragging the clip to the "New Item" button or just right-click on the clip in the project panel and select "New Sequence From Clip".
    Once you have the perfect sequence just change it from this:
    To this:
    Then you can use the Motion effect on the clip to rotate it 90 degrees (or minus 90 degrees).
    Unfortunately, you can't, as far as I know, rotate the clips in the project panel. Only in the sequence. So one possible solution, and it depends on the clips and your workflow, is to put all of the clips on the timeline, rotate them all by rotating the first one and copying the attributes to all of the others at one time. You can then take that sequence into the Source monitor and use it just like a clip. That is one of the great things about nested clips. From there you can cut it up into smaller clips if you so desire. It doesn't seem to be possible to create actual subclips from a sequence, but you cam mark the in and out points and drag them to the project panel, then rename them if so desired.
    Some of my friends here on the forum seem to hate the concept of video shot in portrait mode on a phone or a video camera. However, there are times when it makes perfect sense to me. Especially when it is going to be displayed on a monitor that is oriented in portrait mode. Lots of advertising done that way. And who says that video on a web site has to be landscape? Why would you shoot the Eiffel Tower of the new Freedom Tower in landscape mode?
    If you are shooting video of a person standing and talking to put on the side of a web page, portrait makes more sense.
    Anyway, I hope this helps.

  • Device works using max but not with VI

    Hi All..
    I am able to control a kepco power supply with comminicating by MAX. But with VI (7.0) that has the same command structure it s not possible..Moreover, i dont get any error message either. Could you have a look the VI attached and make ur comments.
    thanks
    Attachments:
    sweeping current.vi ‏79 KB

    I have localized where there are something strange happening.
    I attach 2 VIs one of which works but not other one. The only difference is that  the working one writes data to Writing VI via buffer. When I change buffer to string it doesnt? It doesnt any make any sense to me.. What is wrong?
    Attachments:
    writing_data_not_works.vi ‏50 KB
    writing_data_working.vi ‏47 KB

  • JPA does the right thing for select but not for update

    Hi,
    I'm struggling a bit with my first JSF application: at the moment on the persistence. I am using classes generated by Netbeans. I have a JSF page which is deployed on Sun AS.
    The select, update and new are all done from the same backing bean. Only the select works, even though they all use the same EntityManagerFactory.
    I copy the 3 methods below together with persistence.xml. May be someone can suggest why no updates;
    ......The injection code
    @Resource
    private UserTransaction utx;
    @PersistenceUnit(unitName = "PortGenPU")
    private EntityManagerFactory emf;
    private EntityManager getEntityManager() {
    return emf.createEntityManager();
    .....The selection code: This works.
    public DataModel getUserProcessess() {
    EntityManager em = getEntityManager();
    try{
    Query q = em.createQuery("select object(o) from UserProcesses as o");
    q.setMaxResults(batchSize);
    q.setFirstResult(firstItem);
    model = new ListDataModel(q.getResultList());
    return model;
    } finally {
    em.close();
    ....The update code. This gives a success message but doesn't change the db
    public String edit() {
    EntityManager em = getEntityManager();
    logger.info("In Edit name = " +userProcesses.getProcessName());
    try {
    utx.begin();
    logger.info("In Edit trasnaction = " +userProcesses.getProcessName());
    userProcesses = em.merge(userProcesses);
    logger.info("In Edit after merge id = " + userProcesses.getProcessId());
    utx.commit();
    addSuccessMessage("UserProcesses was successfully updated.");
    } catch (Exception ex) {
    try {
    addErrorMessage(ex.getLocalizedMessage());
    utx.rollback();
    } catch (Exception e) {
    addErrorMessage(e.getLocalizedMessage());
    } finally {
    em.close();
    return "userProcesses_list";
    ....The insert code: This also gives a success message but fails to change the db.
    public String create() {
    EntityManager em = getEntityManager();
    logger.info("In create name = " +userProcesses.getProcessName());
    try {
    utx.begin();
    em.persist(userProcesses);
    utx.commit();
    logger.info("In create after persist id = " + userProcesses.getProcessId());
    addSuccessMessage("UserProcesses was successfully created.");
    } catch (Exception ex) {
    try {
    addErrorMessage(ex.getLocalizedMessage());
    utx.rollback();
    } catch (Exception e) {
    addErrorMessage(e.getLocalizedMessage());
    } finally {
    em.close();
    return "userProcesses_list";
    ...Now persistence.xml ("portdev" is a sjas jdbc resource)
    <persistence-unit name="PortGenPU" transaction-type="RESOURCE_LOCAL">
    <non-jta-data-source>portdev</non-jta-data-source >
    <class>anicca.portfolio.data.UserProcesses</class>
    </persistence-unit>

    this an example of how to update a record through
    jpa:
    public void alterOrderQuantity(long orderId,
    int newQuantity){
    EntityManager em =
    jpaResourceBean.getEMF().createEntityManager();
    try{
    em.getTransaction().begin();
    Order order = em.find(Order.class, orderId);
    order.setQuantity(newQuantity);
    em.getTransaction().commit();
    }finally{
    em.close();
    Hi.
    Many thanks for the help with update. I had seen an example like yours before but forgotten about it. Do you always have to have a em.find() inside the transaction? (We are talking about a user submitting jsf page to be updated.)
    And what about em.merge(). What is the purpose of this function? It is quite unclear from the javadoc.

  • Why does windows have 64-bit iTunes but not mac?

    I can't believe it. I searched the archives here and someone said because most people don't have 64-bit compatible machines. Then why does Windows get separate versions but not the native OS?
    I'm running audio hardware optimized for 64-bit (drivers) but the sound quality of iTunes is worse in 64-bit than in 32-bit.
    Anyone have any knowledge when 64-bit is going to be released?

    iTunes is only 32 bit for Windows OS and Mac OS.
    The 64bit version for Windows simply includes 64 bit drivers. The application itself is only 32 bit.

  • Why does Mail open in guest account but not my account since upgrade to Mavericks?

    I've read a lot of threads but not found anything that works for me. The history is this:
    I've upgraded to Mavericks 10.9.2. Since then, Mail won't open in my own user account. I only get a very brief error message:
    Process:   
    Mail [1448]
    Path:       
    /Applications/Mail.app/Contents/MacOS/Mail
    Identifier: 
    com.apple.mail
    Version:   
    7.2 (1874)
    Build Info: 
    Mail-1874000000000000~1
    Code Type: 
    X86-64 (Native)
    Parent Process:  launchd [157]
    Responsible:
    Mail [1448]
    User ID:   
    I have gone to user/Library/Mail and deleted the contents of the folder Mailboxes + all the other mailboxes. No change - Mail still won't open.
    If I switch user accounts to guest user, Mail opens normally (sets up email accounts etc).
    Any advice would be much appreciated.

    Rebooted in safe mode, repaired disc permissions, rebooted (again in safe mode) but no difference.
    There was a bit more detail I could / should have added.
    1) Before it crashes, Mail says it is Upgrading your Mail database.
    2) I downloaded Mail update but Installer said none of the drives were compatible. (Anyway Mail works fine in Guest Account)
    3) I've been through all the tips on this post https://discussions.apple.com/message/23490745#23490745http://
    and
    looked at Internet accounts in Preferences and none of my email accounts is checked with Mail. It asks for a password for each one but when I provide it I get the message Unable to verify account name or password. And if I try and uncheck iCloud with Mail I get the message that I need to do that from within Mail. (Obviously not possible until I can open Mail).
    In Terminal tried defaults delete com.apple.mail ColorQuoterColorList but got the message that it hadn't been done.
    Tried to find Envelope.x.x files as per this fix:     Final solution: Go into ~Library/Mail/V2/Mailboxes > Delete all mailboxes. Then go to ~Library/Mail/V2/Maildata and delete 3 or more "Envelope.x.x" files > Restart Mail, and enjoy your success.     but don't have a V2 folder nor Envelope.x.x files. I do have Envelope Index file and Envelope Index - journal
    I don't suspect 3rd party applications because I think they are all available in the Guest Account aren't they?
    Many thanks for your reply though. Any more ideas?

  • Why does the audio in my .SWF file not play in a Browser?

    I created an .swf file using ffmpeg, containing H.264 video and MP3 audio. The file plays perfectly in VLC but  not in a Browser (Chrome/IE). I tried analyzing the file using a trial version of Flash decompiler. Again, only the video plays. The strange thing is that if I extract the MP3 from the file, it plays perfectly using any of th eplayers. It seems to be a muxing issue which VLC apparently handles, but not the player in the browser! Why? Thanks for any pointers.

    Yeah. Sorry to say this but many people buy the various brands of format converters, which are everywhere on the Web and which also spam these boards – and often find they are not only out the purchase price but that the app created as many problems as it solved.
    Russ

  • Why does the live recording of a guitar not sync with the drum tract?

    I'm using Guitar Rig 4 plugin with Garage Band 09 with 10.6.8. I first lay down a garage band drum track. I then record the guitar, it sounds good and looks right on the screen while I'm recording.  I finish the recording it then shifts the guitar track over to the left a slight bit to throw off the sync. I can edit it and shift it back to where it belongs but how can I get it to sync automatically. I enabled  follow pitch and tempo. My guitar rig sample rate is set to 44.1. I tried setting the latency to different setting but nothing works.
    I appreciate the help.
    Chuck

    Somebody has to have some input to this question.

  • Why does the DVD player say "supported disc not available?"

    So, regular DVDs will play and are recognized on my Macbook Pro, but I'm trying to play a recordings DVD (for a music literature class) and the DVD player says "supported disc not available." The DVD is supposed to work on my operating system since it's the newest one, but I don't know how to fix the problem! Please help!
    Thanks!

    I'm having the same problem lately.  I have a mid 2010 21.5" iMac with an internal SuperDrive running Yosemite.  I tried putting in "Dawn of the Planet of the Apes" and "The Giver" rented from RedBox.  Both spin sputter for a bit and then eject the disk back out.  So, it never mounts and no software (Finder, Disk Utility, DVD Player) ever gets a chance to see it.  Both play fine in a 15 year old DVD player, and my purchased copy of "The Dark Knight" mounts just fine in the iMac.  So, I have to assume that something is being done to the DVD's that rental companies are given to prevent them from mounting or something.
    Not having any luck on Google trying to confirm that.
    I guess I need to amend this.  Both DVD's play fine in a early 2011 13" Macbook Pro with the internal SuperDrive.  It's running Mavericks still and has a "MATSHITA DVD-R UJ-8A8".  The iMac has a "OPTIARC DVD RW AD-5680H".  Not sure if it's the drive, the OS, or what (although I will say I'm fairly certain I was having this problem on the iMac before Yosemite, so it's probably not the OS).

  • Why does the query work in SQL Developer, but not in APEX?

    Hi, guys:
    I have a silly question. I have a complicated query, and I tested it successfully with SQL developer, and result is correct. However, when I put it into APEX to generate a report, it always reports no data found. I also know the condition related to "other marks" select list in the where clause part causes this problem. It also looks strange: before I add this condition, everything works OK; after I add this condition, even I do not choose the "other marks" select list, other components do not work neither. I always got no data found result. Could anyone help me on this problem? You can also visit our developing site as http://lsg-solutions.com:8888/apex/f?p=206 to check the problem.
    Thanks a lot
    Sam
    select distinct 'MAP','Detail',so.doc_number as "DOC Number", so.offender_id as "Offender ID", so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender Name",
    so.date_of_birth as "Date of Birth",
    (select sc1.description from sor_code sc1 where sc1.code_id=so.race) as "Race",
    (select sc2.description from sor_code sc2 where sc2.code_id=so.sex) as "Sex",
    (select sc8.description from sor_code sc8 where sc8.code_id=so.hair_color) as "Hair Color",
    (select sc9.description from sor_code sc9 where sc9.code_id=so.eye_color) as "Eye Color",
    replace(replace(nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, 'No Known Address'),'#'),',') as "Address",
    replace(replace(nvl2(sl.physical_address1,sl.physical_address1||' '||sl.physical_city ||' '||sl.physical_county||' '||(select sc4.description from sor_code sc4 where sc4.code_id=sl.physical_state)||' '||sl.physical_zip, 'No Known Address'),'#'),',') as "Physical Address",
    sl.status as "Status",
    sl.jurisdiction as "Jurisdiction",
    to_char(sl.ADDRESS_LATITUDE) as "Address Latitude",to_char(sl.address_longitude) as "Address Longitude",
    to_char(sl.physical_address_latitude) as "Physical Latitude",to_char(sl.physical_address_Longitude) as "Physical Longitude",
    decode(rox.habitual, 'Y', 'Habitual', '') as "Habitual",
    decode(rox.aggravated, 'Y', 'Aggravated', '') as "Aggravated",
    rox.status as "Registration Status",
    rox.registration_date as "Registration Date",
    rox.end_registration_date as "End Registration Date"
    from sor_location sl, sor_offender so, registration_offender_xref rox, sor_last_locn_v sllv
    where rox.offender_id=so.offender_id
    and sllv.offender_id(+)=so.offender_id
    and sl.location_id(+)=sllv.location_id
    and rox.status not in ('Merged')
    and rox.reg_type_id=1
    and upper(rox.status)='ACTIVE'
    and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
    and (((select sc11.description from sor_code sc11 where sc11.code_id=so.race and sc11.description=:P5_SL_RACE) is not null ) or (:P5_SL_RACE is null))
    and (((select sc12.description from sor_code sc12 where sc12.code_id=so.sex and sc12.description=:P5_SL_SEX) is not null ) or (:P5_SL_SEX is null))
    and (((select sc13.description from sor_code sc13 where sc13.code_id=so.hair_color and sc13.description=:P5_SL_HAIR_COLOR) is not null ) or (:P5_SL_HAIR_COLOR is null))
    and (((select sc14.description from sor_code sc14 where sc14.code_id=so.eye_color and sc14.description=:P5_SL_EYE_COLOR) is not null ) or (:P5_SL_EYE_COLOR is null))
    and (( so.offender_id in(select sm.offender_id from sor_code sc15, sor_mark sm, sor_offender so1 where sm.offender_id=so1.offender_id and sc15.code_id=sm.code and sc15.description=:P5_SL_OTHER_MARKS and sm.description is not null)) or (:P5_SL_OTHER_MARKS is null))

    My suggestion would be to put some instrumentation into your query and see what values you are using.. Or even simpler take out ALL the where clauses you can until data starts to sho wup and then add them back in one at a time until you find the culprit..
    My bet would be on any date comparisons you are doing between page items and database columns..
    Thank you,
    Tony Miller
    Dallas, TX

  • Why does the installer keep getting stuck but no error messages appear in the log?

    So as of I think recently, I've been having problems installing things. I'm using installer version 2.1.
    I found myself having to re-install a driver for my tablet awhile ago, and every time I tried to install it the installer got stuck in the 90%s somewhere. However, no error window popped up and when i went to look at the log, it didn't show any errors.
    I again encountered this same installing problem today when I went to install a newer slightly updated version of Java which would work on os x 10.4 and the installer got stuck at 99% again showing no errors.
    Help? I have no idea what the problem could be, I believe it's way beyond me.

    Hello, took me awhile to find this out, but...
    Get the combo update for Intel-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateintel.html
    Safe Boot, (holding Shift key down at bootup), & use Disk Utility from there to Repair Permissions, reapply the Combo Update.
    Repair Permissions afterwords, reboot.

  • Help! All-in-One Printer/Scanner: why does the printer work when the scanner doesn't?

    I have a Mac OS X 10.8.1, brand new.  I want to connect my Lexmark X2480 all-in-one printer and scanner to it. 
    I have downloaded both drivers from the lexmark website, printing works fine.  However, I am trying to use image capture to scan, the device is recognised but when I click "scan" image capture says "scanner not available" and the device disappears from the list until I unplug it and plug it back in again.
    On "Print and Scan" under "System Preferences" it lists the printer as Idle, however, clicking on "Open Scanner" opens the window but it is completely grey and all the buttons are in grey.
    I don't understand what is wrong (as the printer is working it's unlikely to be the cable or the hardware) I am new to Mac, is there something I am missing?
    Any help would be really appreciated!! (P.S. I have tried to restart my computer and it didn't change anything)

    Install the Image Capture scan driver here.
    If you're planning to scan using the control panel of your printer, download the scan center here.

  • Why does the drive shows 55.39GB but samba share of the drive shows 31.31GB

    Hello,
    I've got a mac book pro late-2007 2.2GHz 100GB drive with lion installed. I just freed up a ton of space totaling 55.39GB of space according to Finder on the macbook pro itself. I go to mount it via smb/afp (tried both) and the drive appears with only 31GB of space. What happened here?
    I need all 55GB of space.
    Please advise.
    Shinko

    It sounds like you have a partitioned harddrive with at least two partitions and Samba is reporting the space remaining on It's partition?  Possible?
    Hope this helps

Maybe you are looking for

  • Address cleanse output to be in English instead of German.

    During address cleansing, region names in the addresses being processed by BODS are coming in their local country language names. For example one german region name output is coming as "Nordrhein-Westfalen" instead of the English description "Nrth Rh

  • Syncing between MacBook Air and iPod Touch

    just a few questions to confirm before I commit on the new Gen.5 iPod Touch: (1) will they sync wirelessly both ways?  (i.e., from MacBook to iPod and from iPod to MacBook) (2) can this wireless syncing be sheduled to work automatically at pre-set ti

  • Trouble with firefox

    I have the brand new 5 days old x61 with intel pro/wl 3945abg. Right out of the box I was able to sign on to gmail/facebook fairly easy. After a couple days, my internet was having some problems so it was  really slow. However, ever since I've fixed

  • Best downloader for mac?

    What's a free and best downloader of Youtube and others for the Mac?

  • Iphone 3gs issue while backing up

    I plug it into my computer and run a backup...goes all through he backup and then a box opens up that says Adding Files and in the box it states: Processing: 20100121 163136 9.m4a and nothing happens... what is going on? phone says...sync in process