Jump to content

djac

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by djac

  1. Hi Everyone, 

    I'm doing something similar. Can anyone offer some advice. I have a python code that I'm trying to convert to LabVIEW. It uses HMAC and base64 encoding. To make sure that the logic is working, I'm comparing the outputs from python code with LabVIEW by using the python node in LV 18. Ideally both signatures should be matching. Here is the python script and the  LabVIEW VI that I made.

    image.png.3fea7aae88062d322f8db48f4b757f82.png

    image.png.50e3755b5d32d6c345655fe4261f4a43.png

     

    But the signature generated by LabVIEW VI doesn't match the python output. I'm using https://www.vipm.io/package/university_of_leeds_lib_sha256/ for HMAC signature generation.

    For base64 encoding/decoding, the example code VI's were modified and used. https://forums.ni.com/t5/Example-Code/LabVIEW-Utility-VIs-for-Base64-and-Base32Hex-Encoding-Using/ta-p/3491477?profile.language=en.

    Attached are the VI's and the python script.

     

    auth.py HMAC Sign.zip

  2. Hello friends

    I was wondering how to use a celphone to call a phone or a cell phone to play a wave file when someone picks up the phone. This is for my project work. I am new to lab View and I don't know any commands to do thisl. I was wondering if it is possible if so how would I do it? Please give me detailed instructions if it is possible.i thnk this can be done using at commands for phone. i have made a vi to send sms from phone,similarly is this also possible?

×
×
  • Create New...

Important Information

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