Please select To the mobile version | Continue to access the desktop computer version

Electronic Engineer Discuss

12Next
Return to list New
View: 7842|Reply: 19

DSO4254C standard SCPI commands with usbtmc (Linux)

[Copy link]

4

Threads

9

Posts

9

Credits

新手上路

Rank: 1

Credits
9
Post time 2020-5-13 11:11:21 | Show all posts |Read mode
Edited by krjdev at 2020-5-13 11:22

Hello,

I'm trying to control the DSO with a Linux PC using the builtin usbtmc driver.

Is there a list of the standard IEEE488 commands which the DSO supports?
Tried the *IDN? command first, but currently only get 2 bytes from the DSO.
But could be an issue in my current code.


Can somebody post a full example output of the IDN command please? Well it should look like?





Reply

Use magic Report

4

Threads

9

Posts

9

Credits

新手上路

Rank: 1

Credits
9
 Author| Post time 2020-5-14 01:31:53 | Show all posts
Edited by krjdev at 2020-5-14 01:38

Okay the following simple code returns the device id string:

  1. #include <stdio.h>
  2. #include <fcntl.h>
  3. #include <unistd.h>
  4. #include <string.h>

  5. int main(int argc, char *argv[])
  6. {
  7.     int fd;
  8.     unsigned char buf[1024];
  9.     int ret;
  10.     int flags;
  11.    
  12.     fd = open("/dev/usbtmc0", O_RDWR);
  13.    
  14.     if (fd == -1) {
  15.         printf("Could not open device\n");
  16.         return 1;
  17.     }
  18.    
  19.     flags = fcntl(fd, F_GETFL, 0);
  20.     fcntl(fd, F_SETFL, flags | O_NONBLOCK);
  21.    
  22.     ret = write(fd, "*IDN?\n", strlen("*IDN?\n"));
  23.    
  24.     if (ret == -1) {
  25.         printf("Could not write to device\n");
  26.         close(fd);
  27.         return 1;
  28.     }
  29.    
  30.     sleep(1);
  31.    
  32.     ret = read(fd, buf, 1024);
  33.    
  34.     if (ret == -1) {
  35.         printf("Could not read from device\n");
  36.         close(fd);
  37.         return 1;
  38.     }
  39.    
  40.     buf[ret] = '\0';
  41.     printf("%s\n", buf);
  42.     close(fd);
  43.     return 0;
  44. }
Copy the Code


The output:

  1. $ ./dso
  2. Hantek, DSO4254C, CN1830002001956, 1.1.2(191026.0)
  3. $
Copy the Code




10

Threads

171

Posts

171

Credits

注册会员

Rank: 2

Credits
171
Post time 2020-5-15 08:29:15 | Show all posts



Have you checked the download files on the product's page? I think you will find what you want there.

http://www.hantek.com/en/ProductDetail_3_12167.html

0

Threads

315

Posts

315

Credits

中级会员

Rank: 3Rank: 3

Credits
315
Post time 2024-2-22 18:52:43 | Show all posts
You visit the 2024 Turbo Tax website using a web browser and Install your TurboTax product Click the "Download" button Click the link for more information.First you go to the official Turbotax tax 2024 website and choose the one that best suits your needs. Click the "Create Account" button.Go to "Access my downloads" through Turbotax for 2024 . Then, sign in to your TurboTax account. Select the download tab and visit our website to get information.Sign in to your TurboTax account from Turbotax 2023 2024 using the proper login credentials. Click on the blue "Download link".

0

Threads

315

Posts

315

Credits

中级会员

Rank: 3Rank: 3

Credits
315
Post time 2024-2-22 18:53:58 | Show all posts

First, open the Download Turbotax on Multiple Computers  link on you computers and click the "Sign In" button to log in to your TurboTax account.Download TurboTax on Amazon  Simplify your filing process. TurboTax offers a range of products tailored to your specific needs, ensuring a seamless and stress-free tax preparation experience.  Go to an Internet browser and type www.installturbotax.com with license code  along with the license code SIGN UP in the search bar and click on one of the top three search results. Go to the official TurboTax website to Download Turbotax for Business  by visiting a web browser Select the version Click on the selected product Click "Add to Cart" and Buy Choose the version that suits the complexity of your business situation.

0

Threads

315

Posts

315

Credits

中级会员

Rank: 3Rank: 3

Credits
315
Post time 2024-2-22 18:55:12 | Show all posts
Go to your TurboTax website and click I lost my turbotax license code. Go to the License Code Recovery page Enter your email address associated with your TurboTax account.Turbotax Software Sign in to your TurboTax account or create a new account Activate your purchase by entering a 16 character activation code.Can I Download Turbotax without the CD yes for this youVisit the official TurboTax Canada website and choose the desktop or online version that best matches your tax circumstances and click this for more information.Online Transfer toTurbotax Canada Transfer Online to Desktop Follow these instructions to switch from TurboTax Desktop to TurboTax Online. If you started your 2023 return in TurboTax Online and want to switch to TurboTax Desktop, here's how. Install and/or open your 2023 TurboTax Desktop.Clicking the download icon in the sidebar will open the official TurboTax website Download Turbotax with license Code and you can upgrade later at any time.

0

Threads

315

Posts

315

Credits

中级会员

Rank: 3Rank: 3

Credits
315
Post time 2024-2-22 18:56:34 | Show all posts
Go to your computer and open the TurboTax Canada software and start a new tax return. Select the PDF file containing your tax return from the previous year. Turbotax Import Previous year PDF Verify that the PDF file is from a TurboTax file and that it is formatted correctly.By Turbotax Export Data  Data, you can keep a complete record of your user tax returns and also have a backup of your data.If you purchased TurboTax Live from the store and lost your activation code, please contact us and go to Activate Turbotax with License Code  to sign in or create a TurboTax account, and then enter the TurboTax activation code.Start converting your file, and see that the tax data file has been backed up. Click on our link to Convert Turbotax PDF to Tax file .When using TurboTax, you can enter home improvements under the "Deductions and Credits" section. Check out the "Home Expenses" category to enter details and then select "Home Improvement Expenses" to get Turbotax enter home improvements more details.

0

Threads

315

Posts

315

Credits

中级会员

Rank: 3Rank: 3

Credits
315
Post time 2024-2-22 18:57:35 | Show all posts
You can use TurboTax to file tax returns and get the benefit of assured refunds and notices of deductions and credits. ToDownload turbotax on multiple computers , you must have an account, let's see how to create an account.You must have an Intuit account to access TurboTax. For more information, click How to Download turbotax from amazon On the TurboTax 'Products and Pricing' page, select the '2024 Turbotax Premier ' product that you require. Proceed with the further payment process. This will save your product information on this page.If the IRS updates its criteria, the 2023-2024 tax refund calculator  will tell you the updated taxable income and refund amount.To successfully Install Turbotax with license Code , enter that code in the License Code box and select Continue to complete the installation.

0

Threads

315

Posts

315

Credits

中级会员

Rank: 3Rank: 3

Credits
315
Post time 2024-2-22 18:59:20 | Show all posts
Open the TurboTax software you've been using so far.You need to select a product and select 'Continue to Turbotax 2024 online ' and login.You will get the most accurate calculation on taxable income when you useTurbotax estimator 2024 .Sign in using the same login as your Installturbotax.com  account And go to the Downloads tab. Select Intuit Account from the bottom of the screen and select the Downloads tab.Login to your account and go to the 'Turbotax tax 2024 tax estimator' website. Enter the email address that will create a TurboTax account.Turbotax 2024 vs QuickBooks  is tax preparation software for individuals and small businesses while QuickBooks is comprehensive accounting software for businesses.

0

Threads

315

Posts

315

Credits

中级会员

Rank: 3Rank: 3

Credits
315
Post time 2024-2-22 19:00:57 | Show all posts
To Install Turbotax With license code , you must have an installation CD/DVD drive so you can install TurboTax.Users can easily download and Install Turbotax on new Computer from the official website (turbotax.ca/download). Select the TurboTax version you want to download based on your tax situation. Click the Download button.To Move Turbotax from PC to Mac , you will need to switch to your Mac computer. For more information, visit the website.You go to the website where you Download TurboTax with license code  by going to a web browser and clicking the "Download" button. Create and log in to your account.Sign in to your TurboTax account using the same login and click on the Download tab and select the blue button "enter turbotax license code online "Get more information.
12Next
Return to list New
You have to log in before you can reply Login | Register

Points Rules

Dark room|Mobile|Archiver|Electronic Engineer Discuss

2024-3-29 10:16 GMT+8 , Processed in 0.194206 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

Quick Reply To Top Return to the list