Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
Need the latest SmartSDR, Power Genius, Tuner Genius and Antenna Genius Software?
SmartSDR v3.8.21 and the SmartSDR v3.8.21 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
SmartSDR v3.8.21 and the SmartSDR v3.8.21 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
DB export question in FlexLib
rfoust
Member ✭✭
I'm trying to follow the database export code in FlexLib and I think maybe I'm not understanding something right. It looks like Private_GetSSDRDatabaseFile() is supposed to pull the files from the radio and save them locally, but at the top of that function, it calls Private_SendMetaSubsetFile() which appears to want to send a file TO the radio?
private void Private_GetSSDRDatabaseFile(object obj) {
List<string> path_list = (List<string>)obj;
DatabaseExportComplete = false;
_metaSubsetTransferComplete = false;
/* Index 0 contains the meta_subset path */
Private_SendMetaSubsetFile(path_list[0]);
int timeout = 0;
while (_metaSubsetTransferComplete == false && timeout < 50)
{
Thread.Sleep(100);
timeout++;
}
0
Answers
-
The meta_subset is file that has the request for the data to be pulled from the radio. When you perform the export, you check specific items that you want to export in the client. Those selections go in the file.0
-
Oh ok, I see. There is a meta_subset file in the zip file that comes back, is that the same one that got sent to the radio?
Edit: oh the file in the zip is actually meta_data not meta_subset. Same thing?0 -
One file goes to the radio asking for data, different file with data comes back0
-
Awesome, got it working. Piece of cake! :-) Thanks!
C:scripts> (get-flexradio).receivessdrdatabasefile("c:scriptsmeta_data","c:scripts",$true) C:scripts> ls Directory: C:scripts Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 3/20/2015 12:11 PM 135 meta_data C:scripts> ls Directory: C:scripts Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 3/20/2015 12:11 PM 135 meta_data -a---- 3/20/2015 12:13 PM 44175 SSDR_Config_03-20-15_12.13_PM.ssdr_cfg -a---- 3/20/2015 12:13 PM 258 SSDR_Memories_03-20-15_12.13_PM.csv C:scripts>
0
Leave a Comment
Categories
- All Categories
- 271 Community Topics
- 2.1K New Ideas
- 543 The Flea Market
- 7.4K Software
- 6K SmartSDR for Windows
- 141 SmartSDR for Maestro and M models
- 342 SmartSDR for Mac
- 246 SmartSDR for iOS
- 227 SmartSDR CAT
- 165 DAX
- 360 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 61 FLEX-8000 Signature Series
- 816 Maestro
- 45 FlexControl
- 849 FLEX Series (Legacy) Radios
- 815 Genius Products
- 426 Power Genius XL Amplifier
- 269 Tuner Genius XL
- 95 Antenna Genius
- 234 Shack Infrastructure
- 159 Networking
- 388 Remote Operation (SmartLink)
- 130 Contesting
- 658 Peripherals & Station Integration
- 120 Amateur Radio Interests
- 833 Third-Party Software