Jump to content

supriyav

Members
  • Posts

    14
  • Joined

  • Last visited

    Never

Everything posted by supriyav

  1. Hello all, Actually i've created an exe that time i've created a bld file for that exe creation. After that i modify some logic in the existing vis and built the exe again.Exe created successfully but the serial communication is not happening.for one command it is responding and for other commands it is not responding.Because of this issue exe has been built again with the previous bld file.it was working fine. Now some new files are added to the project and tried creating the exe again, not with that bld.Exe created successfully again the same serial communication problem.Can i use the old bld file and modify it for the new files to create the exe. If possible pls let me know how to modify the bld file.
  2. Hello, I've created an executable of my application. Also i've created the installer for that.I tried to run that exe in a PC without Labview after installing that installer.it gave some dlls were missing.I copied that dlls from a Labview machine to that PC. But then it showed an error "A dynamic linked library (DLL) initialization routine failed". Also i've downloaded RunTime Engine 6.1 and installed in that machine.Even then it showed the same error while running that executable. Pls do the needful. Thanks and Regards SupriyaV
  3. Hello, I need clarification regarding setting and getting the time. I'm working with LabVIEW 6.1 i need to frame response for severel commands.In that 2 of the commands are time related. In one command i need to set the time, that time value will be given through serial interface as an array. The other command will be given after the previous command.In the second command i need to read all the channels and i need to frame the response packet in that packet one of the information is time (hh:mm:ss).This time is the one with respect to the first command. i.e if the 1st command sets the time as 10:10:10 and the 2nd command is executed after 20 Minutes, then the time in the second command's response should be 10:30:10. Note: Both the Command and the Response commands are array. Pls do the needful Thankyou and regards SupriyaV
  4. I’ve a C dll which I’m going to invoke in my vi. The C dll consists of 4 functions in that I’m going to use only 2 functions. AES_set_encrypt_key and AES_encrypt Prototypes of that 2 functions are int AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key); void AES_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key); userkey---pointer to an U8 array Key---- pointer to a structure AES_KEY Below is the structure: struct aes_key_st { #ifdef AES_LONG unsigned long rd_key[4 *(AES_MAXNR + 1)]; #else unsigned int rd_key[4 *(AES_MAXNR + 1)]; #endif int rounds; }; typedef struct aes_key_st AES_KEY; In the AES_set_encrypt_key function the first two arguments are input and the third is the output. The output (key) of this AES_set_encrypt_key function is going to used by the AES_encrypt_ function as input. In the AES_encrypt_ function the first and third arguments are input and the second is the output. I’ve created a vi set_encrypt.vi in which Parameter Type Data Type Format/Pass userkey Array Unsigned 8-bit Integer Array Data Pointer Bits Numeric signed 16-bit Integer Value Key Array Unsigned 32-bit Integer Array Data Pointer This vi actually crashes. I thought this is crashing since the Key is a pointer to a structure but I’ve configured that argument to Array Pointer. So I’ve created cluster2.vi using cluster for the third parameter and converting this to U32 Key Array Unsigned 32-bit Integer Array Data Pointer This also crashes. The calling Convention for the dll and for the Call Library function are the same. So I’ve created cluster3.vi using cluster for the third parameter and changed the type to Adapt To Type. Key Adapt to Type Pointers to handles But even this also crashes. The calling Convention for the dll and for the Call Library function is the same. Pls find the attached vis and dll. Pls guide me in this regard Thanks And Regards SupriyaV Download File:post-2648-1137846998.zip Download File:post-2648-1137847028.zip
  5. Hello, I'm Very new to the DLL concept. I need to use a dll which is built by someone. In that dll i'm going to utilise only 2 functions. function prototype is int EXPORT AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key); void EXPORT AES_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key); Already i've built an Vi in which the user can enter some fields and if he presses the save button, the values are stored in a file as such. Now i want to encrypt the data entered by the user and store the encrypted data into the file. For the Encryption part a dll has been created.This dll will have 4 functions 2 for encrypting and 2 for decrypting. Encrption should be taken care by LAbview part and Decryption by our software by C. As my deadline is very near i cudn't go through the Pdf. I'm confused with the CIN and Call library funtion. Pls guide me in this regard. Thanks and regards SupriyaV
  6. Hello, I've an vi through which the User can enter the input fields. In that input fields some of them should be encrypted using an executable(windows).This executable will be created by someone else in my group. Then that encrypted data should be saved and processed using the vi. Here i need ur help. I can start the executable using the System exec.vi.But i need to know how to give inputs to the exe through Vi and get the output(encrypted data) from the executable. Please do the needful Thanks and Regards SupriyaV
  7. Hello, We've 7.1 version LABVIEW and 6.0 version LABVIEW. But we got 6.1 version VIS (from our client side) We've to use 6.0 version only. Is there any way to convert those 6.1 vi's to 6.0 vis without the 6.1 version LABVIEW. Thanks and Regards SupriyaV
  8. Thanks for ur reply.. I cudn't view that vi as i've an older LABVIEW version(6.0_ Can you pls send me the Snapshot of that Backupanddelete.vi's block diagram. Pls do the needful SupriyaV
  9. When i'm trying to write data on an existing file using the "Write to Spread Sheet file",an user interaction popup is displayed. The popup asks the user to "replace" the existing file or "cancel" the change. What i'm trying to do is to replace the file without any user interaction :!: Pls do the needful SupriyaV
  10. Array[255] is a single dim array. each four element is a Block. A[0] to A[3] --- Block0 A[4] to A[7] --- Block1 ... Thanks for ur Reply... I did it Using the Array Subset functionality... I need one more help... Can You pls tell me How to calculate Checksum for an array using Compound Artithmetic (Xor) Without Splitting the array Actually My output array varies i.e it may be 5,10,15,20,...255 depending upon the Command (Start block and NumBlock) Splitting this big array occupies space... Can you Suggest me some easy way Pls Do the needful Thanks and regards SupriyaV
  11. I've an input array A[255] such that A[0] to A[3] is considered as a block Therfore totally 64 blocks (from Block 0 to Block 63) I'll get a command with Start block and number of blocks to read. Start Block= 0 to 63 Numblocks=1 to n n depends on the Start block i.e if Start Block=0 then the NumBlocks=1 to 64 if Start block=1 then NumBlocks=1 to 63 ... i need to frame an output array for all the combination. to make it simple i want to use loop.But i cudn't make it up. Pls do the needful Thanks and Regards Supriya
  12. Thanks for ur help. Can u pls Suggest me how to read that xl sheet. Thanks And Regards SupriyaV
  13. Actually i need to write the inputs entered by the user in an excel sheet. That excel sheet should contain a row header and a column header. The first user's data should get entered in the 2nd column ,the successive entered data should come in the successive column. Pls help me as my deadline is very near.. Download File:post-2648-1122875555.doc
  14. Message: I'm working in Medical domain Actually User will enter inputs of different datatypes.After entering the inputs the user will press a save button ,pressing the save button , all the values should be entered in a file with row header and column header. INPUT DATA TYPE Input 1 integer Input 2 Alphanumeric . . . . . . Input n ..... 1. I don't know how to write different types of input to a file with column header and row header. And depending upon the cmd i need to frame the a packet of data (this data includes some(not all) of the data in the file after reading from it) Pls do the needful
×
×
  • Create New...

Important Information

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