Jump to content

osvaldo

Members
  • Posts

    46
  • Joined

  • Last visited

Everything posted by osvaldo

  1. Hi Mike, To achieve this, you must set your application as the startup in the project. Open contextual menus using the right mouse button on the name that corresponds to your executable in Building Specification, and you will find an entry corresponding to Set as startup ... If setted, the application will restart automatically whenever the cRIO is switched on or reset! Osvaldo QUOTE (MeltingPlastic @ Apr 8 2008, 02:51 AM)
  2. I've used SuSE 10.x for developing with LabView 8.0 and works great, but some issue with the hardware driver dues to binary difference in version of system libraries... Some time I need to recompile drivers (like GPIB) and some time I can't properly install them... so I use it only for on developing environment (in my opinion is the best desktop environment under linux...) But the only version of Linux, for my experiance, that work with all binaries of LabView without require to recompile anything is the CentOS 4. This is a free distribution based on official code from RedHat without the tool not under GPL... It's fast and light... GNOME based (but yuo can install KDE) and binary compatible with LabView 8.0 (and also 8.5 I believe...). I use it on production environment. Osvaldo
  3. QUOTE(malkowki @ Feb 13 2008, 12:21 PM) Ok... a bit more in detail... The VI get in input a string which is converted in an array of byte and than in a stream of byte by the outmost for loop. The inner for loop take a byte a time from the stream and convert it in a stream of bit using the "Rotate left with carry" function. The other code in the inner loop implements the function performed by the logic circuit shown from your first post: the bits in the accumulator are shifted and XOr-ed with he polynomial only when the MSB is "1"; this code is the software version of your diagram (note the logic XOr on the bit corresponding to the power of x where the coefficient is 1 in the polynomial). To calculate the 8-bit CRC, the costant "0" that initialize the accumulator shift register must be an U8 type (now is U16), and the costant in the inner for loop must be a byte (now a word) with the binary costant 00000111, that is your polynomial. Of course, the result will be a byte, therefore only 1 byte must concatenated to the input and to the output strings. The initial value of the U8 costant that initialize the shift register can be different from 0; in some cases, it is equal to FF. This affect the result and you must verify which is the correct value in your application. For more informations you can try on http://en.wikipedia.org/wiki/Cyclic_redundancy_check. Regards Osvaldo
  4. QUOTE(malkowki @ Feb 12 2008, 10:26 AM) Hi malkowki, The VI in attachment would help to solve your issue... It calculate the CRC-16 x.25 standard CRC, but you can modify it to calculate any other CRC simply changing the loops and the binary word inside the inner loop. The actual binary word (0001000000100001) stands for x^16+x^12+x^5+1... in your case the binary will be 00000111. Don't forget to change the dimension from U16 to U8. The VI can be used also to verify the CRC. Best Regards Osvaldo
  5. Hi to all, In recent past I use LabView for Linux for only one project, but I found several problems installing NI drivers due to binary incompatibility... The NI installer script ask for recompile the code but even so the installation abort with errors concerning different version of system library needed... I have tried different distributions to solve the problem (SuSE 9.x/10.x, Fedora, Mandriva...) but the only one that was resulted fully compatible was the CentOS distrbution... This is fast, simple and free and so much close to the RedHat to be binary compatible with NI drivers. I've used the 4.0 version downloaded from the official site... Osvaldo
  6. QUOTE(PJM_labview @ Dec 19 2007, 07:22 PM) Thanks for the suggestion, PJM! :thumbup: Not hardly ever use the expressVI and I would not have ever thought of creating a dynamic waveform using one of them ... Attach the new version of the probe with the code to navigate the dynamic waveform ... Merry Christmas to all! :laugh: Osvaldo http://lavag.org/old_files/post-457-1198244984.zip'>Download File:post-457-1198244984.zip p.s.: Ah! I forgot! Tcplomp, if you believe, you can merge the added code with the original one of the version 1.1.0 and so update the [CR]. :worship:
  7. Oh, gosh! You're right! I have not noticed the upgrade! I missed the opportunity to have some code already written! ... Well! I exercised a bit with the custom probe! Regarding waveforms ... I had to do it when I discovered that time-stamps are a sub-type of waveform! The only waveform that the probe does not browse is the Dinamic subtype... I do not know how to create one to verify the probe! Suggestions? Regards Osvaldo
  8. Hi to all you, I'm developing an application that use variants and variants atrributes.. and the default labview probe for the variant data type is very ugly... so I started using the probe by tcplomp i find in the CR... Great work! But does not display the attributes of the variant... Well, to cut a long story short, I have extended the code from tcplomp to add this functionality. The probe in attachment display the data part and all the attributes defined for the variant under test, recursively. If an attribute or a sub data part is a variant, all his attribut will be browsed. Also supported time stamps and all type of waveforms. Regards! Osvaldo Download File:post-457-1197990179.zip
  9. QUOTE(mario64 @ Nov 29 2007, 04:05 PM) Hi Mario, the problem, in my opinion, is that you can't use a local variable with a button set as latch... You have to create a boolean indicator that you set to TRUE when you press the stop button and use the local variable of this indicator to stop the external loop. Also you have to set to FALSE the indicator any time you run the program, for example using the "Equal to 0" function connected to the index of the outmost loop. Osvaldo
  10. Hello, I'm working on a simple datalogger software for an iPaq that use a CF-6004 for acquire external signal. What I'm trying to do now is to get the Cf-6004 serial number in order to protect unatorized use of the software. I had already used this method on PCs and PCI daq card, but with the PDA module and the DaqMx base I'm not able to get this information! Anyone know if it is possible? Any suggestion? Thanks in advance! Osvaldo
  11. QUOTE(Kalitexnis @ Jul 7 2007, 12:46 AM) Are you sure you are logged in as "root"? You need to be superuser to use it... --- Osvaldo
  12. osvaldo

    PPI

    QUOTE(Sherif @ Jun 12 2007, 12:35 PM) Hi Sherif, On my system the JGP file was loaded correctly, but your problem, in my opinion, is in the way you use the load JPG vi... In your code, you try to load a new image every time the loop run!! Try to place the load image code outside the loop so it would be executed once at the beginning of the program or insert this code into a case structure that execute only if the interaction counter is 0...
  13. As usual... the hasty she-cat made blind little cats! No more! I promise! Have a nice day! Osvaldo
  14. Hi bigl00z3, the problem you have is quite frequently... but the solution you have implemented can not solve it... LabVIEW is a dataflow language. Any function or loop (like for or while) will execute only when all his input will be avaiable! So, the second while loop will execute only when the first will stop and the data contained in the outgoing array will flow to the input tunnel of the second while loop! There are many solution to solve the problem you have... The more efficient, IMHO, is to use the producer/consumer design pattern... You can use the LabView Template "Consumer/producer design pattern (Data)" that appear in the "From Template" folder when you select "new..." from the File men
  15. Ok! The version I currently installed is the 2.0-1... This seems work fine! :thumbup: Many thanks! :worship:
  16. Hello, I'm writing a program to manipulate backups... To save disk space, I wish I use the zip file format to compress files... So I have tried to use the ZLIB Library from the OpenG package... but... when I drag the ZLIB Extract File on my diagram, Labview show to me the search file message window to find the ZLIB Time Info VI... Anyone knows where I can found it? Thanks!
  17. Hi In alternative you can use the utility attached, that report any data from the drives of the PC... You can call the utility via the System Exec VI... :thumbup: Osvaldo Download File:post-457-1151488070.zip
  18. Hi Tim, I have the same problem... A friend of mine, experienced C++ programmer, sent to me the attached C++ program that resolve it... This program accept on the command line the name of the empty file .MDB (without extension) to create in the current directory (also accept a full path name). It's very simple... Unfortunately, I don't know how to convert it in pure LabView, since I don't know what is the dll which contains the called function!! This little program run even if you do not have MS Access installed on the machine (tested in Windows XP/2K)... Download File:post-457-1117614276.zip
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.