Lack of a framework ONLY on first reading

Hey guys!

I have a weird problem, sure I'd love help.

I am writing from NOR-9862 card located in a cDAQ chassis 9188 a CAN device within the network. I am currently implementing a command/response with the device architecture to verify that the command succeeded. Please find enclosed the diagram to see the code.

Question:
Whenever I try to write, then read the response from the device, I see that nothing of CAN read ONLY the first to be called. After that, it works like a champ. I tried to play with the waiting time of the function of waiting, waiting for the loop, the time-out values... almost everything I could think of. I opened the monitor bus OR-XNET and confirmed that I indeed get a response back from the device, however, my code does not reflect this. Interestingly, when I run the NOR-XNET read VI in a loop of its own, it reads very well.

I hope that one of you guys can give me a pointer or two

Thank you!

Call first to start. XNET impliictly starts on IO (read/write) access. You call all first write (from the writer) and then calling Read (from the drive). If you want that the player started before the first entry, call Start on the session of reading outside the loop.

Tags: NI Products

Similar Questions

  • Apparently I have inadverdently clicked on something that has changed my address book listings to show only the first three letters of each name.

    the column showing my address book now shows only the first three characters of each name
    It's as if they have all been abbreviated

    I try to decipher the names of these three characters before clicking on
    to see the
    address window of the person with all of the information

    I'd like to be able to read the name first & last as before

    Thanks in advance

    Try dragging the column header to create the wider column

  • My indicator shows only the first line of the string

    Hi all

    I'm having some trouble with chains, could you help me?

    I use a device connected to my computer in a RS-232 port.

    I configured the VISA series correctly. When I write a command to my device, the answer is something like this:

    "XXXXX."

    YYYYYY

    2222

    44444

    WWWW.

    The problem is when I try to read this response. The channel indicator shows only one line at a time every single loop. And the other orders received are stored in the buffer until their time to be displayed to come. I mean:

    In the first loop device XXXXX responses.

    In the second loop the device responds YYYYYY but now I stored what must appear:

    2222

    44444

    WWWW

    XXXXX

    YYYYYY

    2222

    44444

    WWWW

    In the third loop, the device responds 2222 and stores again:

    44444

    WWWW

    XXXXX

    YYYYYY

    2222

    44444

    WWWW

    XXXXX

    YYYYYY

    2222

    44444

    WWWW

    How can I configure my blocks to display the full string?

    Thank you

    Murilo

    Post your code and we can better understand what is happening.

    My first is however you spend only the corrent, reading of the indicator.

    You use a chain shift reg with a knot to concatenate a String?

    Your zip code and we'll have a glance.

  • Newb question - displays only the first of several fields

    As a first application of Bb, I write a stopwatch and I want the larger time scale and the small milliseconds. As part of what I am trying to display several bitmap or label side-by-side fields, but when I run it using the Simulator, only the first is displayed.

    So, for example, what I want is:

    1-2: 3 4:5:6 7 8 9

    with each number in own field but what I mean is just

    1

    that is the first field. If I then use buttons they all appear in the verticalFieldManager by default in horizontalField Manager but if I use labels or bitmaps, then all I get is the first field, even if I remove the horizontalFieldManager and just use the default verticalFieldManager. I googled the question, this forum and spent several hours reading the code examples and documentation, but I have yet to understand why I can't put several fields of these types of side-by-side. I have to have something between them as separators or empty fields?

    The code that I've got so far is the following...

     public TimerView()    {     super();      HorizontalFieldManager timerField = new HorizontalFieldManager();
    
          Bitmap hour10 = Bitmap.getBitmapResource("num_1.png");        Bitmap hour01 = Bitmap.getBitmapResource("num_2.png");        Bitmap minute10 = Bitmap.getBitmapResource("num_3.png");      Bitmap minute01 = Bitmap.getBitmapResource("num_4.png");      Bitmap second10 = Bitmap.getBitmapResource("num_5.png");      Bitmap second01 = Bitmap.getBitmapResource("num_6.png");      Bitmap ms100 = Bitmap.getBitmapResource("num_7.png");     Bitmap ms010 = Bitmap.getBitmapResource("num_8.png");     Bitmap ms001 = Bitmap.getBitmapResource("num_9.png");     Bitmap colon = Bitmap.getBitmapResource("Colon.png");
    
          BitmapField bfHour10 = new BitmapField(hour10);       BitmapField bfHour01 = new BitmapField(hour01);       BitmapField bfHourColon = new BitmapField(colon);     BitmapField bfMinute10 = new BitmapField(minute10);       BitmapField bfMinute01 = new BitmapField(minute01);       BitmapField bfMinuteColon = new BitmapField(colon);       BitmapField bfSecond10 = new BitmapField(second10);       BitmapField bfSecond01 = new BitmapField(second01);       BitmapField bfSecondColon = new BitmapField(colon);       BitmapField bfMs100 = new BitmapField(ms100);     BitmapField bfMs010 = new BitmapField(ms010);     BitmapField bfMs001 = new BitmapField(ms001);
    
          timerField.add(bfHour10);     timerField.add(bfHour01);     timerField.add(bfHourColon);      timerField.add(bfMinute10);       timerField.add(bfMinute01);       timerField.add(bfMinuteColon);        timerField.add(bfSecond10);       timerField.add(bfSecond01);       timerField.add(bfSecondColon);        timerField.add(bfMs100);      timerField.add(bfMs010);      timerField.add(bfMs001);
    
            add(timerField);  }
    

    I know that this code violates probably some best practices or standards, but I intend to clean later.

    -edited for spelling

    Give it a go with images of the numbers.  You have it easy with BitmapFields, because you know how much space they need with

    getPreferredHeight() and getBitmapWidth().  Then you should be able to stick them next to each other.

    If I was doing this and who are looking for a special look at the clock, which seems to be what you are doing, I would like to have the digital icons as you do, and then set an image large enough to hold the value of the clock and in my routine of painting, select draw digital icon proper, in the right place.  As long as you load the bitmaps only once, I think it's the most effective way to do it.

    Of course, a much simpler way would be to have just a RichTextField formatted as you suggest - RichTextField because you can have two different fonts in a single field.

  • Problem with player search - only the First Instance is highlighted

    I use WIN 8.1 with Adobe Acrobat Reader DC [15.10.200056.167417 'updated 12/18/15"indicated in the program properties] as my default PDF reader.

    Until recently, I was able to do a search of words/texts of .pdfs using CTRL-F, who showed me every instance highlight of this word.  I would simply hit 'find' several times.  These days, only the first occurrence of the word is highlighted.  Along the right margin are yellow "tics" that, in my opinion, indicate the existence of other occurrences.

    If something has changed in the drive?  Some can tell me how to regain the ability that I hope

    mikec2222 wrote:

    Bernd - Do I understand you though, when you search for "" this document, you can find a second occurrence of "the" highlighted by pressing 'find' or 'next' or 'enter' again?  If this is true, my copy of AA CD player must be faulty.  I can't wait to see your response.

    It's true.

  • LR is important only the first 5 pictures

    Hello!

    I'm trying to import my pictures from my Canon EOS1000D but LR import only the first 5 pictures and said then he couldn't read the others. So I close LR and reconnect my camera. Then I can re-import only 5 photos.

    Of course I had write permission otherwise, he couldn't import anything. 187 GB of free space.

    Import with Picasa or directly from the SD card works fine in the same directory. It should therefore do something with LR I guess.

    Edit: also, I installed the latest version of LR 6.4

    Edit, Edit:

    Now, I find the problem. It seems that there is a problem with the USB cable or Port. I used a different cable and Port, and now the import worked well.

    Thank you

  • When I sync my ipod touch with itunes only the first song is downloaded and then he sits for hours

    When I try to sync my ipod touch with iTunes, only the first song seems to be downloaded, then he just "hangs" for hours

    What happens if you try to synchronize not this first song and next song?

    What is listed n the block status of iTunes when it freezes?

  • slide show does not play in photo.only shows first photo

    Just upgraded to El Capitan.

    When I select an Album for a slide show, only the first frame appears, with the title of the album. I tried all variants of projections, but nothing works!

    I tried all variants of projections, but nothing works!

    What exactly have you tried already?

    A slideshow play project properly, if you select the photos in the album, use the command "file > new slide show?

    The problem occurs only in your existing photo library or in any library of Photos? To test with a different see the library of Photos of this help page: https://help.apple.com/photos/mac/1.0/?lang=en#/pht6d60b524

    Create a photo library

    • If the photo is open, choose Photos > Photos of quit smoking.
    • Hold down the Option key and double click on the Photos icon in the Applications folder (or click on the pictures of the Dock icon) to open the pictures.
    • In the select Library dialog box, click on create new.
    • Type a library name and choose a location to store the library.
    • Click OK.

    Switch between any libraries

    • If the photo is open, choose Photos > Photos of quit smoking.
    • Hold down the Option key and double click on the Photos icon in the Applications folder (or click on the pictures of the Dock icon) to open the pictures.
    • In the select Library dialog box, do one of the following:
      • Click the library that you want to use, then click on choose a library.
      • If the library you want does not appear in the select Library dialog box, click other library, navigate to the location of the library, select it, then click on choose a library.

    Is your photo library a library iCloud, or photos stored locally on your Mac?

    If slideshows do play not only in your existing photo library, but well play in a differnet photo library, try to repair the library as described here: https://help.apple.com/photos/mac/1.0/?lang=en#/pht6be18f93

    Important: You must back up your library before repair of your library.

    • If the photo is open, choose Photos > Photos of quit smoking.
    • Press Option-command and double-click on the Photos icon in the Applications folder (or click the Photos icon in the Dock). The library of repair window opens.
    • Click on fix to rebuild your library.
  • My Fire Fox download video in support not detected on you tube. It is always shows only the first video that i was downloaded.pls help

    My Fire Fox download video in support not detected on you tube. It is always shows only the first video that i was downloaded.pls help

    I don't think there is much you can do about it outside the use of workaround to reload the page until this problem is corrected.

    There is this bug on this problem:

    I don't know if other extensions download suffer from this issue, as well, so you can try a little more try the website of the add-on and if possible use a different format like WebM, if they are available.

    Also note that not all videos are downloaded and registered correctly. Some may have a size of 0 bytes and fail to download, so, best is to check in downloads of the toolbar Manager in the drop-down list to make sure that the file size is correct (i.e. neither 0 bytes, but a more likely size).

    YouTube streaming makes changes to the code and the way its web pages work, so extensions can fail at any time.

  • I recently changed my IE but when I try to import the Favorites I get only the first two files. How can I get my favorite of all THE? s

    I followed the advice and imported IE Favorites, but only the first two files have met. How can I get all THE files across please?

    Wow. I think I will like Firefox if the aid is so easily available, quick and as good as this. Fixed right away
    Thank you very much
    Kevod

  • Word insertion object vi only inserts first page of the MultiPage rtf file?

    Hello

    I need to insert a multi-page rtf file in my report model.  In Microsoft Word, this is achieved by selecting "Insert, text of file object", which inserts all pages in the rtf file.  How is - that this is reached in the LabView Report Generation Toolkit Microsoft?  When I use the insertion object vi, it inserts only the first page of the rtf file?  I tried other methods of insertion, but insert object is the only vi which keeps the formatting (e.g. rtf file contains tables).

    In summary, I can insert a rtf as an object to a bookmark file, but only the first page of the rtf file is inserted.  Does anyone know how to insert a rtf multi-page file?

    Kind regards

    Allan

    Hi Allan,

    I was able to generate the code to convert the _Document in range by copying it from the inside of the Object.vi Word.  The VI gray called Word_Get_Range.vi. It is located in vi.lib\addons\_office\_wordsub.llb

    Let me know if this helps.

    Kind regards

    Tom

  • How to convert only the first false true after a series of real values

    Hello

    I would like to know how I can convert only the first value false true after a series of true values. For example, I want to make the TTTFFF to TTTTFF.


  • I have just re installed Windows XP. Windows installed after three attempts. When I turn on the computer there are three choices of Windows XP. Only the first works how to remove the other two?

    I have just re installed Windows XP. Windows installed after three attempts. When I turn on the computer there are three choices of Windows XP. Only the first works how to remove the other two?

    I have a hard drive. At least two partitions. C: 74.7 GB with 63.3 freespace
    D: 74.2 GB with 70.6 freespace
    These are my original specifications of the hard drive: 160 GB (7200 RPM) SERIAL ATA HARD DRIVE WI
    So I suspect there are at least one or more partitions hidden leaving 11.1 GB for hidden partitions!
    Windows is present on both drives C: & D:. In the directory windows on C:, the oldest entry is 19.12.12, 21.43 last 21.12.12, 22.50
    The first entry in the directory windows on D: is 19.12.12, 18.42 the last 21.12.12, 22.40
    I hope that makes sense to someone, any help gratefully received!

    As long as you have verified you dΘmarrez done on the c: / partition, Yes, you can reformat the drive D: / partition using Windows 'disk management '.

    J W Stuart: http://www.pagestart.com

  • Why my printer has suddenly started printing only the first three quarters of a page...?

    Why my printer has suddenly started printing only the first three quarters of a page...?

    Hello

    Thanks for posting the question in the Microsoft Community!

    If I understand correctly, you are facing problem with the printer of. I understand that it must be frustrating, but don't worry, we are here to help solve the problem and guide you in the right direction.

    We start with two questions:

    1 have had any changes made on the computer before the show?

    2. What is the brand and model of the printer?

    I suggest for the link and try to run the troubleshooter and check if it helps.

    Printer in Windows problems

    If the problem is not resolved, please provide more information to help you best.

    Thank you.

  • Photosmart Premium C309a print only the first column of the Excel worksheet

    Photosmart Premium C309a print only the first column of the Excel worksheet

    Hello

    I see you are having a problem printing to an Excel document.

    I suggest you install a default substitution such as the jet pilot desktop 990 c driver.

    You can follow this thread of Shane, who will show you how.

    After that, you can try printing again from Excel.

Maybe you are looking for

  • Brightness adjustment does not work windows 8.1

    I update my windows 8 to 8.1 after doing so, my laptop cannot adjust brightness however, other buttons as increase/function work correctly. How to fix this thing? I am very grateful to someone will help me here. ^_^

  • Updating 802.11 g 802.11n

    Hello I have a laptop HP Pavilion dv6500, his 4 years approximately, initially running on Vista home premium, now running Windows 7 Home premium, with a map of network Broadcom 802.11 g (NViDIA n Force network controller). Is is possible to upgrade t

  • Remove the W510 RAID1?

    Hi all. These past 'issues' with my W500 has me shopping for a new.  PCMall W510... Best sellers in stock, etc.  I can really play with computer reliablity, so I bought one. He has shown with 2 hard drives in RAID1.  I'm debating remove a HARD drive

  • question about ".tin file extension.

    I noticed a file ending with the extension "." TIN"in a temporary files folder.  I do not know what program will open this file or how to find out what this file is or how and why it was created.  Someone has an idea?  I noticed there are websites th

  • Where to buy a Windows 7 product or key

    Well, you have all heard before. But it's 10/08/15. I need a new key for my windows 7 to the window 10. I installed 10 windows and don't like it so I went down to 7, and I get this "your copy of windows can be authentic" on my screen. I type in the p